| 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 |
|---|---|
<T> ConfigValue<List<T>> |
Config.asList(Class<T> type)
Returns list of specified type.
|
<T> ConfigValue<List<T>> |
Config.asList(Function<Config,T> mapper)
Returns this node as a list converting each list value using the provided mapper.
|
ConfigValue<List<Config>> |
Config.asNodeList()
Returns a list of child
Config nodes if the node is Config.Type.OBJECT. |
Optional<T> |
ConfigValue.asOptional()
Returns a typed value as
Optional. |
<T> T |
Config.convert(Class<T> type,
String value)
Convert a String to a specific type.
|
static ConfigFilters.ValueResolvingBuilder |
ConfigFilters.ValueResolvingBuilder.create(Config metaConfig)
Initializes config filter instance from configuration properties.
|
static PollingStrategies.ScheduledBuilder |
PollingStrategies.ScheduledBuilder.create(Config metaConfig)
Initializes polling strategy instance from configuration properties.
|
static RetryPolicies.Builder |
RetryPolicies.Builder.create(Config metaConfig)
Initializes retry policy instance from configuration properties.
|
default T |
ConfigValue.get()
Typed value of the represented
Config node. |
| Modifier and Type | Method and Description |
|---|---|
static EtcdConfigSourceBuilder |
EtcdConfigSourceBuilder.create(Config metaConfig)
Initializes config source instance from meta configuration properties,
see
ConfigSources.load(Config). |
| Modifier and Type | Method and Description |
|---|---|
static GitConfigSourceBuilder |
GitConfigSourceBuilder.create(Config metaConfig)
Initializes config source instance from meta configuration properties,
see
ConfigSources.load(Config). |
| Modifier and Type | Method and Description |
|---|---|
static ConfigSource |
ConfigSource.create(Config metaConfig)
Initializes a
ConfigSource from meta-configuration. |
static RetryPolicy |
RetryPolicy.create(Config metaConfig)
Constructs a
RetryPolicy from meta-configuration. |
<T> T |
ConfigMapper.map(Config config,
GenericType<T> type)
Convert the specified
Config node into the target type specified by GenericType. |
<T> T |
ConfigMapper.map(Config config,
Class<T> type)
Converts the specified
Config node to the target type. |
<T> T |
ConfigMapper.map(String value,
GenericType<T> type,
String key)
Converts the value to the target generic type.
|
<T> T |
ConfigMapper.map(String value,
Class<T> type,
String key)
Converts the value to the target type.
|
Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.