Uses of Class
io.helidon.common.GenericType
-
Packages that use GenericType Package Description io.helidon.common Common utilities for Helidon projects.io.helidon.common.mapper Support for mapping of types.io.helidon.common.mapper.spi SPI to providemappers
forMapperManager
.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. -
-
Uses of GenericType in io.helidon.common
Methods in io.helidon.common that return GenericType Modifier and Type Method Description static <N> GenericType<N>
GenericType. create(Type genericType)
Constructs a new generic type, using the provided generic type information and deriving the class. -
Uses of GenericType in io.helidon.common.mapper
Methods in io.helidon.common.mapper with parameters of type GenericType Modifier and Type Method Description <S,T>
MapperManager.BuilderMapperManager.Builder. addMapper(Mapper<S,T> mapper, GenericType<S> sourceType, GenericType<T> targetType)
Add a mapper to the list of mapper.<S,T>
MapperManager.BuilderMapperManager.Builder. addMapper(Mapper<S,T> mapper, GenericType<S> sourceType, GenericType<T> targetType, int priority)
Add a mapper to the list of mapper with custom priority.<SOURCE,TARGET>
TARGETMapperManager. map(SOURCE source, GenericType<SOURCE> sourceType, GenericType<TARGET> targetType)
Map from source to target.Constructors in io.helidon.common.mapper with parameters of type GenericType Constructor Description MapperException(GenericType<?> source, GenericType<?> target, String detail)
Failed with no underlying exception.MapperException(GenericType<?> source, GenericType<?> target, String detail, Throwable cause)
Failed with an underlying exception. -
Uses of GenericType in io.helidon.common.mapper.spi
Methods in io.helidon.common.mapper.spi with parameters of type GenericType Modifier and Type Method Description default <SOURCE,TARGET>
Optional<Mapper<?,?>>MapperProvider. mapper(GenericType<SOURCE> sourceType, GenericType<TARGET> targetType)
Find a mapper that is capable of mapping from source to target types. -
Uses of GenericType in io.helidon.config
Methods in io.helidon.config with parameters of type GenericType Modifier and Type Method Description <T> Config.Builder
Config.Builder. addMapper(GenericType<T> type, Function<Config,T> mapper)
Register a mapping function for specifiedGenericType
.<T> ConfigValue<T>
Config. as(GenericType<T> genericType)
Typed value as aConfigValue
for a generic type. -
Uses of GenericType in io.helidon.config.spi
Methods in io.helidon.config.spi that return types with arguments of type GenericType Modifier and Type Method Description default Map<GenericType<?>,BiFunction<Config,ConfigMapper,?>>
ConfigMapperProvider. genericTypeMappers()
Returns a map of mapper functions associated with appropriate target type (GenericType<?>
.Methods in io.helidon.config.spi with parameters of type GenericType Modifier and Type Method Description <T> T
ConfigMapper. map(Config config, GenericType<T> type)
Convert the specifiedConfig
node into the target type specified byGenericType
.<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.
-