| Package | Description |
|---|---|
| one.microstream.configuration.exceptions | |
| one.microstream.configuration.types |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
ConfigurationException.configuration() |
| Constructor and Description |
|---|
ConfigurationException(Configuration configuration) |
ConfigurationException(Configuration configuration,
String message) |
ConfigurationException(Configuration configuration,
String message,
Throwable cause) |
ConfigurationException(Configuration configuration,
String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace) |
ConfigurationException(Configuration configuration,
Throwable cause) |
ConfigurationExceptionNoValueMapperFound(Configuration configuration,
Class<?> type) |
ConfigurationExceptionValueMappingFailed(Configuration configuration,
String key,
String value) |
ConfigurationExceptionValueMappingFailed(Configuration configuration,
Throwable cause,
String key,
String value) |
| Modifier and Type | Class and Description |
|---|---|
static class |
Configuration.Default |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
Configuration.Builder.buildConfiguration()
Finishes the building and returns the resulting
Configuration. |
Configuration |
Configuration.child(String key)
Gets the assigned child-configuration of the specified key,
or
null if the configuration doesn't contain the key. |
Configuration |
Configuration.Default.child(String key) |
Configuration |
Configuration.detach()
Creates a new Configuration instance with all entries and child-configurations of this configuration,
but with no parent, which makes it a root configuration.
|
Configuration |
Configuration.Default.detach() |
static Configuration |
Configuration.Load(ConfigurationLoader loader,
ConfigurationParser parser)
Convenience method to load a configuration from an external source.
|
Configuration |
Configuration.parent()
Gets this configuration's parent, or
null if this is the root configuration. |
Configuration |
Configuration.Default.parent() |
default Configuration |
Configuration.root()
Gets the root configuration, which may be this.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends Configuration> |
Configuration.children()
Gets all direct child-configurations.
|
Iterable<? extends Configuration> |
Configuration.Default.children() |
| Modifier and Type | Method and Description |
|---|---|
default VarString |
ConfigurationAssembler.assemble(Configuration configuration)
Assembles all entries and child-configurations to an external format.
|
VarString |
ConfigurationAssemblerXml.Default.assemble(VarString vs,
Configuration configuration) |
VarString |
ConfigurationAssemblerIni.Default.assemble(VarString vs,
Configuration configuration) |
VarString |
ConfigurationAssembler.assemble(VarString vs,
Configuration configuration)
Assembles all entries and child-configurations to an external format.
|
T |
ConfigurationBasedCreator.create(Configuration configuration) |
T |
ConfigurationValueMapper.Default.map(Configuration config,
String key,
String value) |
T |
ConfigurationValueMappingFunction.map(Configuration config,
String key,
String value)
Maps the given value of a
Configuration to the target type. |
| Modifier and Type | Method and Description |
|---|---|
void |
Configuration.traverse(Consumer<Configuration> consumer)
Traverses this and all child-configurations recursively.
|
void |
Configuration.Default.traverse(Consumer<Configuration> consumer) |
Copyright © 2022 MicroStream Software. All rights reserved.