| 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.spi |
Configuration SPI that defines the behavior developers can implement to extend the config system.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigSource |
ConfigSources.CompositeBuilder.build()
Builds new instance of Composite ConfigSource.
|
ConfigSource |
ConfigSources.MapBuilder.build()
Builds new instance of
MapConfigSource from the Map
or Properties passed to a constructor. |
static ConfigSource |
ConfigSources.create(Config config)
Returns a
ConfigSource that contains the same configuration model
as the provided config. |
static ConfigSource |
ConfigSources.create(ConfigNode.ObjectNode objectNode)
Returns a
ConfigSource that wraps the specified objectNode
and returns it when Source.load() is invoked. |
static ConfigSource |
ConfigSources.create(Readable readable,
String mediaType)
|
static ConfigSource |
ConfigSources.create(String content,
String mediaType)
|
static ConfigSource |
ConfigSources.empty()
Provides an empty config source.
|
static ConfigSource |
ConfigSources.environmentVariables()
Provides a @{code ConfigSource} for creating a
Config from
environment variables. |
ConfigSource |
ConfigSources.CompositeBuilder.get() |
ConfigSource |
ConfigSources.MapBuilder.get() |
static ConfigSource |
ConfigSources.prefixed(String key,
Supplier<ConfigSource> sourceSupplier)
Provides a
ConfigSource from a sourceSupplier, adding the
specified prefix to the keys in the source. |
static ConfigSource |
ConfigSources.systemProperties()
Provides a
ConfigSource for creating a Config derived
from system properties. |
| Modifier and Type | Method and Description |
|---|---|
ConfigSources.CompositeBuilder |
ConfigSources.CompositeBuilder.add(Supplier<ConfigSource> source)
Adds a
ConfigSource to the ordered list of sources. |
static ConfigSources.CompositeBuilder |
ConfigSources.create(List<Supplier<ConfigSource>> configSources)
Provides a
ConfigSources.CompositeBuilder for creating a composite
ConfigSource based on the ConfigSources and their order
in the specified list. |
static ConfigSource |
ConfigSources.prefixed(String key,
Supplier<ConfigSource> sourceSupplier)
Provides a
ConfigSource from a sourceSupplier, adding the
specified prefix to the keys in the source. |
default Config.Builder |
Config.Builder.sources(Supplier<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<ConfigSource> configSource,
Supplier<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<ConfigSource> configSource,
Supplier<ConfigSource> configSource2,
Supplier<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<ConfigSource>> configSources)
Sets ordered list of
ConfigSource instance to be used as single source of configuration
to be wrapped into Config API. |
| Modifier and Type | Class and Description |
|---|---|
class |
EtcdConfigSource
A config source which loads a configuration document from Etcd.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GitConfigSource
A config source which loads a configuration document from Git repository.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractConfigSource<S>
Base abstract implementation of
ConfigSource, suitable for concrete
implementations to extend. |
class |
AbstractParsableConfigSource<S>
Abstract implementation of
ConfigSource that uses a
ConfigParser to parse
configuration content accessible as a
Readable. |
| Modifier and Type | Method and Description |
|---|---|
static ConfigSource |
ConfigSource.create(Config metaConfig)
Initializes a
ConfigSource from meta-configuration. |
ConfigSource |
AbstractConfigSource.Builder.get() |
default ConfigSource |
ConfigSource.get() |
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.