Uses of Interface
io.helidon.config.Config.Builder
Package
Description
Provides interfaces and classes for loading and working with immutable, tree-structured
configuration data.
-
Uses of Config.Builder in io.helidon.config
Modifier and TypeMethodDescriptionConfig.Builder.addFilter
(ConfigFilter configFilter) Registers aConfigFilter
instance that will be used byConfig
to filter elementary value before it is returned to a user.Config.Builder.addFilter
(Function<Config, ConfigFilter> configFilterProvider) Config.Builder.addFilter
(Supplier<Function<Config, ConfigFilter>> configFilterSupplier) <T> Config.Builder
Config.Builder.addMapper
(GenericType<T> type, Function<Config, T> mapper) Register a mapping function for specifiedGenericType
.Config.Builder.addMapper
(ConfigMapperProvider configMapperProvider) <T> Config.Builder
Registers mapping function for specifiedtype
.Config.Builder.addParser
(ConfigParser configParser) Registers aConfigParser
instance that can be used by config system to parse parseConfigParser.Content
ofParsableSource
.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) static Config.Builder
Config.builder()
Provides aConfig.Builder
for creating aConfig
instance.static Config.Builder
Config.builder
(Supplier<? extends ConfigSource>... configSources) Config.Builder.changesExecutor
(Executor changesExecutor) Specifies "observe-on"Executor
to be used byConfig.onChange(java.util.function.Consumer)
to deliver new Config instance.Configure this config builder from meta configuration.Config.Builder.disableCaching()
Disables caching of elementary configuration values onConfig
side.Config.Builder.disableEnvironmentVariablesSource()
Disables use ofenvironment variables config source
.Config.Builder.disableFilterServices()
Disables automatic registration of filters loaded as aservice
.Config.Builder.disableKeyResolving()
Disables an usage of resolving key tokens.Config.Builder.disableMapperServices()
Disables automatic registration of mappers viaConfigMapperProvider
SPI loaded as aservice
.Config.Builder.disableParserServices()
Disables automatic registration of parsers loaded as aservice
.Config.Builder.disableSystemPropertiesSource()
Disables use ofsystem properties config source
.Config.Builder.disableValueResolving()
Disables an usage of resolving value tokens.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.failOnMissingValueReference
(boolean shouldFail) When value resolving is enabled and a reference cannot be resolved, should we fail, or use the value verbatim.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.overrides
(Supplier<? extends OverrideSource> overridingSource) Sets source of a override source.default Config.Builder
Config.Builder.sources
(Supplier<? extends ConfigSource> configSource) Sets aConfigSource
instance to be used as a source of configuration to be wrapped intoConfig
API.default Config.Builder
Config.Builder.sources
(Supplier<? extends ConfigSource> configSource, Supplier<? extends ConfigSource> configSource2) Sets an ordered pair ofConfigSource
instances to be used as single source of configuration to be wrapped intoConfig
API.default Config.Builder
Config.Builder.sources
(Supplier<? extends ConfigSource> configSource, Supplier<? extends ConfigSource> configSource2, Supplier<? extends ConfigSource> configSource3) Sets an ordered trio ofConfigSource
instances to be used as single source of configuration to be wrapped intoConfig
API.Config.Builder.sources
(List<Supplier<? extends ConfigSource>> configSources) Sets ordered list ofConfigSource
instance to be used as single source of configuration to be wrapped intoConfig
API.