| Package | Description |
|---|---|
| dev.dejvokep.boostedyaml | |
| dev.dejvokep.boostedyaml.block.implementation | |
| dev.dejvokep.boostedyaml.settings.updater |
| Modifier and Type | Method and Description |
|---|---|
static YamlDocument |
YamlDocument.create(File document,
InputStream defaults,
Settings... settings)
Creates and loads a YAML document from the given file and loads the defaults (another YAML document, later
accessible via
getDefaults()) from the defaults stream. |
static YamlDocument |
YamlDocument.create(File document,
InputStream defaults,
Settings... settings)
Creates and loads a YAML document from the given file and loads the defaults (another YAML document, later
accessible via
getDefaults()) from the defaults stream. |
static YamlDocument |
YamlDocument.create(File document,
Settings... settings)
Creates and loads a YAML document from the given file.
|
static YamlDocument |
YamlDocument.create(File document,
Settings... settings)
Creates and loads a YAML document from the given file.
|
static YamlDocument |
YamlDocument.create(InputStream document,
InputStream defaults,
Settings... settings)
Creates and loads a YAML document from the given stream and loads the defaults (another YAML document, later
accessible via
getDefaults()) from the defaults stream. |
static YamlDocument |
YamlDocument.create(InputStream document,
InputStream defaults,
Settings... settings)
Creates and loads a YAML document from the given stream and loads the defaults (another YAML document, later
accessible via
getDefaults()) from the defaults stream. |
static YamlDocument |
YamlDocument.create(InputStream document,
Settings... settings)
Creates and loads a YAML document from the given stream.
|
static YamlDocument |
YamlDocument.create(InputStream document,
Settings... settings)
Creates and loads a YAML document from the given stream.
|
YamlDocument |
YamlDocument.getDefaults()
Returns the defaults associated with the document, if any were given to
YamlDocument.create()
method. |
YamlDocument |
YamlDocument.getDefaults()
Returns the defaults associated with the document, if any were given to
YamlDocument.create()
method. |
| Modifier and Type | Method and Description |
|---|---|
YamlDocument |
Section.getRoot()
Returns the root file of this section.
|
YamlDocument |
Section.getRoot()
Returns the root file of this section.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Section.init(YamlDocument root,
org.snakeyaml.engine.v2.nodes.Node keyNode,
org.snakeyaml.engine.v2.nodes.MappingNode valueNode,
ExtendedConstructor constructor)
Initializes this section, and it's contents using the given parameters, while also initializing the superclass by
calling
Block.init(Node, Node). |
protected void |
Section.init(YamlDocument root,
org.snakeyaml.engine.v2.nodes.Node keyNode,
org.snakeyaml.engine.v2.nodes.MappingNode valueNode,
ExtendedConstructor constructor)
Initializes this section, and it's contents using the given parameters, while also initializing the superclass by
calling
Block.init(Node, Node). |
protected void |
Section.initEmpty(YamlDocument root)
Initializes this section as an empty one.
|
protected void |
Section.initEmpty(YamlDocument root)
Initializes this section as an empty one.
|
| Constructor and Description |
|---|
Section(YamlDocument root,
Section parent,
Route route,
Block<?> previous,
Map<?,?> mappings)
Creates a section using the given relatives, previous block and mappings.
|
Section(YamlDocument root,
Section parent,
Route route,
Block<?> previous,
Map<?,?> mappings)
Creates a section using the given relatives, previous block and mappings.
|
Section(YamlDocument root,
Section parent,
Route route,
org.snakeyaml.engine.v2.nodes.Node keyNode,
org.snakeyaml.engine.v2.nodes.MappingNode valueNode,
ExtendedConstructor constructor)
Creates a section using the given relatives, nodes and constructor, which is used to retrieve the actual Java
representations of nodes (and sub-nodes).
|
Section(YamlDocument root,
Section parent,
Route route,
org.snakeyaml.engine.v2.nodes.Node keyNode,
org.snakeyaml.engine.v2.nodes.MappingNode valueNode,
ExtendedConstructor constructor)
Creates a section using the given relatives, nodes and constructor, which is used to retrieve the actual Java
representations of nodes (and sub-nodes).
|
| Modifier and Type | Method and Description |
|---|---|
List<Consumer<YamlDocument>> |
UpdaterSettings.getCustomLogic(String versionId)
Returns custom logic to run at the given version ID.
|
List<Consumer<YamlDocument>> |
UpdaterSettings.getCustomLogic(String versionId)
Returns custom logic to run at the given version ID.
|
| Modifier and Type | Method and Description |
|---|---|
UpdaterSettings.Builder |
UpdaterSettings.Builder.addCustomLogic(Map<String,List<Consumer<YamlDocument>>> consumers)
Adds custom logic to run on the document, per version ID.
|
UpdaterSettings.Builder |
UpdaterSettings.Builder.addCustomLogic(Map<String,List<Consumer<YamlDocument>>> consumers)
Adds custom logic to run on the document, per version ID.
|
UpdaterSettings.Builder |
UpdaterSettings.Builder.addCustomLogic(String versionId,
Collection<Consumer<YamlDocument>> consumers)
Adds custom logic to run on the document at the provided version ID.
|
UpdaterSettings.Builder |
UpdaterSettings.Builder.addCustomLogic(String versionId,
Collection<Consumer<YamlDocument>> consumers)
Adds custom logic to run on the document at the provided version ID.
|
UpdaterSettings.Builder |
UpdaterSettings.Builder.addCustomLogic(String versionId,
Consumer<YamlDocument> consumer)
Adds custom logic to run on the document at the provided version ID.
|
UpdaterSettings.Builder |
UpdaterSettings.Builder.addCustomLogic(String versionId,
Consumer<YamlDocument> consumer)
Adds custom logic to run on the document at the provided version ID.
|
Copyright © 2024. All rights reserved.