public class MapperConfiguration extends Object
Mapper
and
MapperConfig
for a specific mapper class.
Settings given via Mapper
will generally take precedence over settings inherited from a referenced config
class. The lists of referenced mappers given via Mapper.uses()
and
MapperConfig.uses()
will be merged.
Modifier and Type | Method and Description |
---|---|
String |
componentModel(Options options) |
DeclaredType |
config() |
AnnotationMirror |
getAnnotationMirror() |
org.mapstruct.ap.internal.prism.CollectionMappingStrategyPrism |
getCollectionMappingStrategy() |
static MapperConfiguration |
getInstanceOn(Element e) |
org.mapstruct.ap.internal.prism.MappingInheritanceStrategyPrism |
getMappingInheritanceStrategy() |
org.mapstruct.ap.internal.prism.NullValueCheckStrategyPrism |
getNullValueCheckStrategy() |
String |
implementationName() |
String |
implementationPackage() |
List<TypeMirror> |
imports() |
boolean |
isMapToDefault(org.mapstruct.ap.internal.prism.NullValueMappingStrategyPrism mapNullToDefault) |
boolean |
isValid() |
org.mapstruct.ap.internal.prism.ReportingPolicyPrism |
unmappedTargetPolicy(Options options) |
Set<DeclaredType> |
uses() |
public static MapperConfiguration getInstanceOn(Element e)
public String implementationName()
public String implementationPackage()
public Set<DeclaredType> uses()
public List<TypeMirror> imports()
public org.mapstruct.ap.internal.prism.ReportingPolicyPrism unmappedTargetPolicy(Options options)
public org.mapstruct.ap.internal.prism.CollectionMappingStrategyPrism getCollectionMappingStrategy()
public org.mapstruct.ap.internal.prism.MappingInheritanceStrategyPrism getMappingInheritanceStrategy()
public org.mapstruct.ap.internal.prism.NullValueCheckStrategyPrism getNullValueCheckStrategy()
public boolean isMapToDefault(org.mapstruct.ap.internal.prism.NullValueMappingStrategyPrism mapNullToDefault)
public DeclaredType config()
public boolean isValid()
public AnnotationMirror getAnnotationMirror()
Copyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.