Package org.mapstruct.ap.internal.model
Class MapMappingMethod.Builder
- java.lang.Object
-
- org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder<MapMappingMethod.Builder,MapMappingMethod>
-
- org.mapstruct.ap.internal.model.MapMappingMethod.Builder
-
- Enclosing class:
- MapMappingMethod
public static class MapMappingMethod.Builder extends AbstractMappingMethodBuilder<MapMappingMethod.Builder,MapMappingMethod>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapMappingMethod
build()
MapMappingMethod.Builder
keyFormattingParameters(FormattingParameters keyFormattingParameters)
MapMappingMethod.Builder
keySelectionParameters(SelectionParameters keySelectionParameters)
B
mappingContext(MappingBuilderContext mappingContext)
B
method(Method sourceMethod)
protected boolean
shouldUsePropertyNamesInHistory()
MapMappingMethod.Builder
valueFormattingParameters(FormattingParameters valueFormattingParameters)
MapMappingMethod.Builder
valueSelectionParameters(SelectionParameters valueSelectionParameters)
-
Methods inherited from class org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder
getDescription, getMethodAnnotations
-
-
-
-
Field Detail
-
myself
protected B extends org.mapstruct.ap.internal.model.AbstractBaseBuilder<B> myself
-
ctx
protected MappingBuilderContext ctx
-
method
protected Method method
-
-
Method Detail
-
keySelectionParameters
public MapMappingMethod.Builder keySelectionParameters(SelectionParameters keySelectionParameters)
-
valueSelectionParameters
public MapMappingMethod.Builder valueSelectionParameters(SelectionParameters valueSelectionParameters)
-
keyFormattingParameters
public MapMappingMethod.Builder keyFormattingParameters(FormattingParameters keyFormattingParameters)
-
valueFormattingParameters
public MapMappingMethod.Builder valueFormattingParameters(FormattingParameters valueFormattingParameters)
-
build
public MapMappingMethod build()
- Specified by:
build
in classAbstractMappingMethodBuilder<MapMappingMethod.Builder,MapMappingMethod>
-
shouldUsePropertyNamesInHistory
protected boolean shouldUsePropertyNamesInHistory()
- Specified by:
shouldUsePropertyNamesInHistory
in classAbstractMappingMethodBuilder<MapMappingMethod.Builder,MapMappingMethod>
- Returns:
true
if property names should be used for the creation of theForgedMethodHistory
.
-
mappingContext
public B mappingContext(MappingBuilderContext mappingContext)
-
-