| Package | Description |
|---|---|
| io.helidon.common |
Common utilities for Helidon projects.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static <N> GenericType<N> |
GenericType.create(Type genericType)
Constructs a new generic type, using the provided generic type information and
deriving the class.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Config.Builder |
Config.Builder.addMapper(GenericType<T> type,
Function<Config,T> mapper)
Register a mapping function for specified
GenericType. |
<T> ConfigValue<T> |
Config.as(GenericType<T> genericType)
Typed value as a
ConfigValue for a generic type. |
| Modifier and Type | Method and Description |
|---|---|
default Map<GenericType<?>,BiFunction<Config,ConfigMapper,?>> |
ConfigMapperProvider.genericTypeMappers()
Returns a map of mapper functions associated with appropriate target type (
GenericType<?>. |
| Modifier and Type | Method and Description |
|---|---|
<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(String value,
GenericType<T> type,
String key)
Converts the value to the target generic type.
|
default <T> Optional<BiFunction<Config,ConfigMapper,T>> |
ConfigMapperProvider.mapper(GenericType<T> type)
Mapper for a specific generic type.
|
Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.