| Package | Description |
|---|---|
| org.bspfsystems.yamlconfiguration.configuration | |
| org.bspfsystems.yamlconfiguration.file |
| Modifier and Type | Class and Description |
|---|---|
class |
MemoryConfiguration
Represents an implementation of a configuration that exists only in-memory.
|
| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
MemoryConfiguration.defs |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Configuration |
ConfigurationOptions.getConfiguration()
Gets the configuration that these options controls.
|
@Nullable Configuration |
MemoryConfiguration.getDefaults()
Gets the default configuration for this configuration.
|
@Nullable Configuration |
Configuration.getDefaults()
Gets the default configuration for this configuration.
|
@Nullable Configuration |
MemorySection.getRoot()
Gets the root configuration that contains this configuration section.
|
@Nullable Configuration |
ConfigurationSection.getRoot()
Gets the root configuration that contains this configuration section.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MemoryConfiguration.addDefaults(@NotNull Configuration defs)
Sets the default values of the given paths as provided.
|
void |
Configuration.addDefaults(@NotNull Configuration defs)
Sets the default values of the given paths as provided.
|
void |
MemoryConfiguration.setDefaults(@NotNull Configuration defs)
Sets the source of all default values for this configuration.
|
void |
Configuration.setDefaults(@NotNull Configuration defs)
Sets the source of all default values for this configuration.
|
| Constructor and Description |
|---|
ConfigurationOptions(@NotNull Configuration configuration)
Constructs a set of configuration options.
|
MemoryConfiguration(@Nullable Configuration defs)
Constructs an empty memory configuration using the given configuration as
a source for all default values.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileConfiguration
Represents a base class for all file-based implementations of a memory
configuration.
|
class |
YamlConfiguration
Represents an implementation of configuration which saves all files in valid
YAML format.
|
| Constructor and Description |
|---|
FileConfiguration(@Nullable Configuration defs)
Constructs an empty file configuration using the given configuration as a
source for all default values.
|
YamlConfiguration(@Nullable Configuration defs)
Constructs an empty YAML configuration using the given configuration as a
source for all default values.
|
Copyright © 2024 BSPF Systems, LLC. All rights reserved.