public static class PropertyMapping.ConstantMappingBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected MappingBuilderContext |
ctx |
protected Method |
method |
protected B |
myself |
Modifier and Type | Method and Description |
---|---|
PropertyMapping |
build() |
PropertyMapping.ConstantMappingBuilder |
constantExpression(String constantExpression) |
PropertyMapping.ConstantMappingBuilder |
formattingParameters(FormattingParameters formattingParameters) |
B |
mappingContext(MappingBuilderContext mappingContext) |
B |
method(Method sourceMethod) |
PropertyMapping.ConstantMappingBuilder |
options(MappingOptions options) |
PropertyMapping.ConstantMappingBuilder |
selectionParameters(SelectionParameters selectionParameters) |
protected B extends org.mapstruct.ap.internal.model.AbstractBaseBuilder<B> myself
protected MappingBuilderContext ctx
protected Method method
public PropertyMapping.ConstantMappingBuilder constantExpression(String constantExpression)
public PropertyMapping.ConstantMappingBuilder formattingParameters(FormattingParameters formattingParameters)
public PropertyMapping.ConstantMappingBuilder selectionParameters(SelectionParameters selectionParameters)
public PropertyMapping.ConstantMappingBuilder options(MappingOptions options)
public PropertyMapping build()
public B mappingContext(MappingBuilderContext mappingContext)
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.