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 MapMappingMethodbuild()MapMappingMethod.BuilderkeyFormattingParameters(FormattingParameters keyFormattingParameters)MapMappingMethod.BuilderkeySelectionParameters(SelectionParameters keySelectionParameters)BmappingContext(MappingBuilderContext mappingContext)Bmethod(Method sourceMethod)protected booleanshouldUsePropertyNamesInHistory()MapMappingMethod.BuildervalueFormattingParameters(FormattingParameters valueFormattingParameters)MapMappingMethod.BuildervalueSelectionParameters(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:
buildin classAbstractMappingMethodBuilder<MapMappingMethod.Builder,MapMappingMethod>
-
shouldUsePropertyNamesInHistory
protected boolean shouldUsePropertyNamesInHistory()
- Specified by:
shouldUsePropertyNamesInHistoryin classAbstractMappingMethodBuilder<MapMappingMethod.Builder,MapMappingMethod>- Returns:
trueif property names should be used for the creation of theForgedMethodHistory.
-
mappingContext
public B mappingContext(MappingBuilderContext mappingContext)
-
-