public static class MapMappingMethod.Builder extends AbstractMappingMethodBuilder<MapMappingMethod.Builder,MapMappingMethod>
Modifier and Type | Field and Description |
---|---|
protected MappingBuilderContext |
ctx |
protected Method |
method |
protected B |
myself |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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) |
getDescription
protected B extends org.mapstruct.ap.internal.model.AbstractBaseBuilder<B> myself
protected MappingBuilderContext ctx
protected Method method
public MapMappingMethod.Builder keySelectionParameters(SelectionParameters keySelectionParameters)
public MapMappingMethod.Builder valueSelectionParameters(SelectionParameters valueSelectionParameters)
public MapMappingMethod.Builder keyFormattingParameters(FormattingParameters keyFormattingParameters)
public MapMappingMethod.Builder valueFormattingParameters(FormattingParameters valueFormattingParameters)
public MapMappingMethod build()
build
in class AbstractMappingMethodBuilder<MapMappingMethod.Builder,MapMappingMethod>
protected boolean shouldUsePropertyNamesInHistory()
shouldUsePropertyNamesInHistory
in class AbstractMappingMethodBuilder<MapMappingMethod.Builder,MapMappingMethod>
true
if property names should be used for the creation of the ForgedMethodHistory
.public B mappingContext(MappingBuilderContext mappingContext)
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.