Module io.helidon.builder.config
Package io.helidon.builder.config.spi
Interface GeneratedConfigBeanMappers
- All Known Subinterfaces:
GeneratedConfigBeanBuilder
- All Known Implementing Classes:
GeneratedConfigBeanBuilderBase
public interface GeneratedConfigBeanMappers
Loosely modeled from
io.helidon.config.spi.ConfigMapperProvider.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionA simple mapping function from config node to a typed value based on the expected class.Returns a map of mapper functions associated with appropriate target type (Class<?>.
-
Method Details
-
__mappers
Returns a map of mapper functions associated with appropriate target type (Class<?>.- Returns:
- a map of config mapper functions, never
null
-
__mapper
A simple mapping function from config node to a typed value based on the expected class.- Type Parameters:
T- type returned from conversion- Parameters:
type- type of the expected mapping result- Returns:
- function to convert config node to the expected type, or empty if the type is not supported by this provider
-