| 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 | 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.empty() |
Provides an empty config source.
|
static ConfigSource |
ConfigSources.environmentVariables() |
Provides a @{code ConfigSource} for creating a
Config from
environment variables. |
static ConfigSource |
ConfigSources.from(Config config) |
Returns a
ConfigSource that contains the same configuration model
as the provided config. |
static ConfigSource |
ConfigSources.from(ConfigNode.ObjectNode objectNode) |
Returns a
ConfigSource that wraps the specified objectNode
and returns it when Source.load() is invoked. |
static ConfigSource |
ConfigSources.from(java.lang.Readable readable,
java.lang.String mediaType) |
|
static ConfigSource |
ConfigSources.from(java.lang.String content,
java.lang.String mediaType) |
|
ConfigSource |
ConfigSources.CompositeBuilder.get() |
|
ConfigSource |
ConfigSources.MapBuilder.get() |
|
static ConfigSource |
ConfigSources.prefixed(java.lang.String key,
java.util.function.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 | Description |
|---|---|---|
ConfigSources.CompositeBuilder |
ConfigSources.CompositeBuilder.add(java.util.function.Supplier<ConfigSource> source) |
Adds a
ConfigSource to the ordered list of sources. |
static ConfigSources.CompositeBuilder |
ConfigSources.from(java.util.List<java.util.function.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(java.lang.String key,
java.util.function.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(java.util.function.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(java.util.function.Supplier<ConfigSource> configSource,
java.util.function.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(java.util.function.Supplier<ConfigSource> configSource,
java.util.function.Supplier<ConfigSource> configSource2,
java.util.function.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(java.util.List<java.util.function.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 | Method | Description |
|---|---|---|
ConfigSource |
EtcdConfigSourceBuilder.build() |
Builds new instance of Etcd ConfigSource.
|
| Modifier and Type | Method | Description |
|---|---|---|
ConfigSource |
GitConfigSourceBuilder.build() |
| Modifier and Type | Class | 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 | Description |
|---|---|---|
static ConfigSource |
ConfigSource.from(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.