| Package | Description |
|---|---|
| io.helidon.config |
Provides interfaces and classes for loading and working with immutable, tree-structured
configuration data.
|
| io.helidon.config.spi |
Configuration SPI that defines the behavior developers can implement to extend the config system.
|
| io.helidon.security.tools.config |
Support for encrypted properties.
|
| Modifier and Type | Method and Description |
|---|---|
Config.Key |
Config.key()
Returns the fully-qualified key of the
Config node. |
static Config.Key |
Config.Key.of(java.lang.String key)
Creates new instance of Key for specified
key literal. |
Config.Key |
Config.Key.parent()
Returns instance of Key that represents key of parent config node.
|
| Modifier and Type | Method and Description |
|---|---|
static MissingValueException |
MissingValueException.forKey(Config.Key key)
Create new missing value exception.
|
Config |
Config.get(Config.Key key)
Returns the single sub-node for the specified sub-key.
|
static java.util.function.Supplier<MissingValueException> |
MissingValueException.supplierForKey(Config.Key key)
Create new missing value exception supplier.
|
| Constructor and Description |
|---|
ConfigMappingException(Config.Key key,
java.lang.Class<?> type,
java.lang.String detail)
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
java.lang.Class<?> type,
java.lang.String detail,
java.lang.Throwable cause)
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
java.lang.String detail)
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
java.lang.String value,
java.lang.Class<?> type,
java.lang.Throwable cause)
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
java.lang.String value,
java.lang.String detail,
java.lang.Throwable cause)
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
java.lang.String detail,
java.lang.Throwable cause)
Create new configuration value mapping exception with additional contextual details describing the failure.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.util.Map.Entry<java.util.function.Predicate<Config.Key>,java.lang.String>> |
OverrideSource.OverrideData.data()
Returns the predicate/replacement value pairs.
|
protected java.util.function.Function<Config.Key,java.lang.String> |
AbstractConfigSource.Builder.getMediaTypeMapping() |
protected java.util.function.Function<Config.Key,ConfigParser> |
AbstractConfigSource.Builder.getParserMapping() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
ConfigFilter.apply(Config.Key key,
java.lang.String stringValue)
Filters an elementary config value before it is made available to the
application via the
Config API. |
| Modifier and Type | Method and Description |
|---|---|
static OverrideSource.OverrideData |
OverrideSource.OverrideData.from(java.util.List<java.util.Map.Entry<java.util.function.Predicate<Config.Key>,java.lang.String>> data)
Creates
OverrideData from a List of
predicate/replacement pairs. |
B |
AbstractConfigSource.Builder.mediaTypeMapping(java.util.function.Function<Config.Key,java.lang.String> mediaTypeMapping)
Sets a function mapping key to media type.
|
B |
AbstractConfigSource.Builder.parserMapping(java.util.function.Function<Config.Key,ConfigParser> parserMapping)
Sets a function mapping key to a parser.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
SecureConfigFilter.apply(Config.Key key,
java.lang.String stringValue) |
java.lang.String |
SecureConfigFilterService.apply(Config.Key key,
java.lang.String stringValue) |
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.