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.Builderadd(ConfigurationValueMapper<T> mapper)Adds a value mapper for a certain type.ConfigurationValueMapperProviderbuild()Builds the resultingConfigurationValueMapperProvider.
-
Method Details
-
add
Description copied from interface:ConfigurationValueMapperProvider.BuilderAdds a value mapper for a certain type. An possibly existing mapper for this type will be overwritten.- Specified by:
addin interfaceConfigurationValueMapperProvider.Builder- Type Parameters:
T- the target type- Parameters:
mapper- the mapper to add- Returns:
- this builder
-
build
Description copied from interface:ConfigurationValueMapperProvider.BuilderBuilds the resultingConfigurationValueMapperProvider.- Specified by:
buildin interfaceConfigurationValueMapperProvider.Builder- Returns:
- a new
ConfigurationValueMapperProvider
-