Uses of Interface
io.helidon.config.spi.ConfigSource
-
Packages that use ConfigSource Package Description io.helidon.config Provides interfaces and classes for loading and working with immutable, tree-structured configuration data.io.helidon.config.etcd Etcd configuration source.io.helidon.config.git Git configuration source.io.helidon.config.mp Helidon implementation of microprofile config.io.helidon.config.spi Configuration SPI that defines the behavior developers can implement to extend the config system. -
-
Uses of ConfigSource in io.helidon.config
Classes in io.helidon.config that implement ConfigSource Modifier and Type Class Description class
AbstractConfigSource
A base implementation for config sources, that combines configuration from any type of a config source.class
ClasspathConfigSource
ConfigSource
implementation that loads configuration content from a resource on a classpath.static class
ConfigSources.SystemPropertiesConfigSource
System properties config source.class
DirectoryConfigSource
ConfigSource
implementation that loads configuration content from a directory on a filesystem.class
FileConfigSource
ConfigSource
implementation that loads configuration content from a file on a filesystem.class
MapConfigSource
ConfigSource
implementation based onMap<String, String>
.class
PrefixedConfigSource
ConfigSource
implementation wraps another config source and add key prefix to original one.class
UrlConfigSource
ConfigSource
implementation that loads configuration content from specified endpoint URL.Methods in io.helidon.config that return ConfigSource Modifier and Type Method Description static ConfigSource
ConfigSources. create(Config config)
Returns aConfigSource
that contains the same configuration model as the providedconfig
.static ConfigSource
ConfigSources. create(InputStream data, String mediaType)
static ConfigSource
ConfigSources. create(String content, String mediaType)
static ConfigSource
ConfigSources. empty()
Provides an empty config source.static ConfigSource
ConfigSources. prefixed(String key, Supplier<? extends ConfigSource> sourceSupplier)
Provides aConfigSource
from asourceSupplier
, adding the specifiedprefix
to the keys in the source.Methods in io.helidon.config that return types with arguments of type ConfigSource Modifier and Type Method Description static List<ConfigSource>
MetaConfig. configSource(Config sourceMetaConfig)
Load a config source (or config sources) based on its meta configuration.static List<ConfigSource>
ClasspathConfigSource. createAll(Config metaConfig)
Create config source for each resource on the classpath.Methods in io.helidon.config with parameters of type ConfigSource Modifier and Type Method Description Config.Builder
Config.Builder. addSource(ConfigSource source)
Add a config source to the list of sources.static PrefixedConfigSource
PrefixedConfigSource. create(String key, ConfigSource source)
Create a new prefixed config source.Method parameters in io.helidon.config with type arguments of type ConfigSource Modifier and Type Method Description default Config.Builder
Config.Builder. addSource(Supplier<? extends ConfigSource> source)
Add a single config source to this builder.static ConfigSource
ConfigSources. prefixed(String key, Supplier<? extends ConfigSource> sourceSupplier)
Provides aConfigSource
from asourceSupplier
, adding the specifiedprefix
to the keys in the 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
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. -
Uses of ConfigSource in io.helidon.config.etcd
Classes in io.helidon.config.etcd that implement ConfigSource Modifier and Type Class Description class
EtcdConfigSource
A config source which loads a configuration document from Etcd.Methods in io.helidon.config.etcd that return ConfigSource Modifier and Type Method Description ConfigSource
EtcdConfigSourceProvider. create(String type, Config metaConfig)
-
Uses of ConfigSource in io.helidon.config.git
Classes in io.helidon.config.git that implement ConfigSource Modifier and Type Class Description class
GitConfigSource
A config source which loads a configuration document from Git repository.Methods in io.helidon.config.git that return ConfigSource Modifier and Type Method Description ConfigSource
GitConfigSourceProvider. create(String type, Config metaConfig)
-
Uses of ConfigSource in io.helidon.config.mp
Methods in io.helidon.config.mp with parameters of type ConfigSource Modifier and Type Method Description static ConfigSource
MpConfigSources. create(ConfigSource helidonConfigSource)
Config source based on a Helidon SE config source. -
Uses of ConfigSource in io.helidon.config.spi
Subinterfaces of ConfigSource in io.helidon.config.spi Modifier and Type Interface Description interface
NodeConfigSource
An eager source that can read all data from the underlying origin as a configuration node.Methods in io.helidon.config.spi that return ConfigSource Modifier and Type Method Description default ConfigSource
ConfigSource. get()
Methods in io.helidon.config.spi that return types with arguments of type ConfigSource Modifier and Type Method Description default List<ConfigSource>
ConfigSourceProvider. createMulti(String type, Config metaConfig)
Create a list of configuration sources from a single configuration.Methods in io.helidon.config.spi with parameters of type ConfigSource Modifier and Type Method Description ConfigSourceRuntime
ConfigContext. sourceRuntime(ConfigSource source)
Create or find a runtime for a config source.
-