Package com.helixframework.mapper
Class MappingContext.Builder
java.lang.Object
com.helixframework.mapper.MappingContext.Builder
- Enclosing class:
- MappingContext
Fluent builder for immutable mapping contexts.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an immutable mapping context.Adds a key and value to the mapping context.Adds all provided values to the mapping context.
-
Method Details
-
put
Adds a key and value to the mapping context.- Parameters:
key- the key to addvalue- the value to add- Returns:
- the builder
-
putAll
Adds all provided values to the mapping context.- Parameters:
additionalValues- the values to add- Returns:
- the builder
-
build
Builds an immutable mapping context.- Returns:
- the mapping context
-