Class ConfigurationValueMapperProvider.Builder.Default
java.lang.Object
one.microstream.configuration.types.ConfigurationValueMapperProvider.Builder.Default
- All Implemented Interfaces:
ConfigurationValueMapperProvider.Builder
- Enclosing interface:
- ConfigurationValueMapperProvider.Builder
public static class ConfigurationValueMapperProvider.Builder.Default extends Object implements ConfigurationValueMapperProvider.Builder
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.configuration.types.ConfigurationValueMapperProvider.Builder
ConfigurationValueMapperProvider.Builder.Default
-
Method Summary
Modifier and Type Method Description <T> ConfigurationValueMapperProvider.Builder
add(ConfigurationValueMapper<T> mapper)
Adds a value mapper for a certain type.ConfigurationValueMapperProvider
build()
Builds the resultingConfigurationValueMapperProvider
.
-
Method Details
-
add
Description copied from interface:ConfigurationValueMapperProvider.Builder
Adds a value mapper for a certain type. An possibly existing mapper for this type will be overwritten.- Specified by:
add
in interfaceConfigurationValueMapperProvider.Builder
- Type Parameters:
T
- the target type- Parameters:
mapper
- the mapper to add- Returns:
- this builder
-
build
Description copied from interface:ConfigurationValueMapperProvider.Builder
Builds the resultingConfigurationValueMapperProvider
.- Specified by:
build
in interfaceConfigurationValueMapperProvider.Builder
- Returns:
- a new
ConfigurationValueMapperProvider
-