Config.Builder |
Config.Builder.addFilter(ConfigFilter configFilter) |
Registers a ConfigFilter instance that will be used by Config to
filter elementary value before it is returned to a user.
|
Config.Builder |
Config.Builder.addFilter(Function<Config,ConfigFilter> configFilterProvider) |
|
Config.Builder |
Config.Builder.addFilter(Supplier<Function<Config,ConfigFilter>> configFilterSupplier) |
|
<T> Config.Builder |
Config.Builder.addMapper(GenericType<T> type,
Function<Config,T> mapper) |
|
Config.Builder |
Config.Builder.addMapper(ConfigMapperProvider configMapperProvider) |
|
<T> Config.Builder |
Config.Builder.addMapper(Class<T> type,
Function<Config,T> mapper) |
Registers mapping function for specified type .
|
Config.Builder |
Config.Builder.addParser(ConfigParser configParser) |
|
Config.Builder |
Config.Builder.addSource(ConfigSource source) |
Add a config source to the list of sources.
|
default Config.Builder |
Config.Builder.addSource(Supplier<? extends ConfigSource> source) |
Add a single config source to this builder.
|
<T> Config.Builder |
Config.Builder.addStringMapper(Class<T> type,
Function<String,T> mapper) |
Registers simple Function from String for specified type .
|
static Config.Builder |
Config.builder() |
|
static Config.Builder |
Config.builder(Supplier<? extends ConfigSource>... configSources) |
|
Config.Builder |
Config.Builder.changesExecutor(Executor changesExecutor) |
|
Config.Builder |
Config.Builder.config(Config metaConfig) |
Configure this config builder from meta configuration.
|
Config.Builder |
Config.Builder.disableCaching() |
Disables caching of elementary configuration values on Config side.
|
Config.Builder |
Config.Builder.disableEnvironmentVariablesSource() |
|
Config.Builder |
Config.Builder.disableFilterServices() |
Disables automatic registration of filters loaded as a service .
|
Config.Builder |
Config.Builder.disableKeyResolving() |
Disables an usage of resolving key tokens.
|
Config.Builder |
Config.Builder.disableMapperServices() |
|
Config.Builder |
Config.Builder.disableParserServices() |
Disables automatic registration of parsers loaded as a service .
|
Config.Builder |
Config.Builder.disableSystemPropertiesSource() |
|
Config.Builder |
Config.Builder.disableValueResolving() |
Disables an usage of resolving value tokens.
|
Config.Builder |
Config.Builder.failOnMissingKeyReference(boolean shouldFail) |
When key resolving is enabled and a reference cannot be resolved, should we fail, or use the key verbatim.
|
Config.Builder |
Config.Builder.failOnMissingValueReference(boolean shouldFail) |
When value resolving is enabled and a reference cannot be resolved, should we fail, or use the value verbatim.
|
Config.Builder |
Config.Builder.mergingStrategy(MergingStrategy strategy) |
Merging Strategy to use when more than one config source is used.
|
default Config.Builder |
Config.Builder.metaConfig() |
Check if meta configuration is present and if so, update this builder using
the meta configuration.
|
Config.Builder |
Config.Builder.overrides(Supplier<? extends OverrideSource> overridingSource) |
Sets source of a override source.
|
default Config.Builder |
Config.Builder.sources(Supplier<? extends ConfigSource> configSource) |
Sets a ConfigSource instance to be used as a source of configuration to be wrapped into Config API.
|
default Config.Builder |
Config.Builder.sources(Supplier<? extends ConfigSource> configSource,
Supplier<? extends ConfigSource> configSource2) |
Sets an ordered pair of ConfigSource instances to be used as single source of configuration
to be wrapped into Config API.
|
default Config.Builder |
Config.Builder.sources(Supplier<? extends ConfigSource> configSource,
Supplier<? extends ConfigSource> configSource2,
Supplier<? extends ConfigSource> configSource3) |
Sets an ordered trio of ConfigSource instances to be used as single source of configuration
to be wrapped into Config API.
|
Config.Builder |
Config.Builder.sources(List<Supplier<? extends ConfigSource>> configSources) |
Sets ordered list of ConfigSource instance to be used as single source of configuration
to be wrapped into Config API.
|