Class MapperOptions
- java.lang.Object
-
- org.mapstruct.ap.internal.model.source.DelegatingOptions
-
- org.mapstruct.ap.internal.model.source.MapperOptions
-
public class MapperOptions extends DelegatingOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
componentModel()
AnnotationMirror
getAnnotationMirror()
org.mapstruct.ap.internal.gem.BuilderGem
getBuilder()
org.mapstruct.ap.internal.gem.CollectionMappingStrategyGem
getCollectionMappingStrategy()
org.mapstruct.ap.internal.gem.InjectionStrategyGem
getInjectionStrategy()
static MapperOptions
getInstanceOn(TypeElement typeElement, Options options)
MappingControl
getMappingControl(ElementUtils elementUtils)
org.mapstruct.ap.internal.gem.MappingInheritanceStrategyGem
getMappingInheritanceStrategy()
org.mapstruct.ap.internal.gem.NullValueCheckStrategyGem
getNullValueCheckStrategy()
org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem
getNullValueIterableMappingStrategy()
org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem
getNullValueMapMappingStrategy()
org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem
getNullValueMappingStrategy()
org.mapstruct.ap.internal.gem.NullValuePropertyMappingStrategyGem
getNullValuePropertyMappingStrategy()
org.mapstruct.ap.internal.gem.SubclassExhaustiveStrategyGem
getSubclassExhaustiveStrategy()
TypeMirror
getUnexpectedValueMappingException()
boolean
hasAnnotation()
boolean
hasMapperConfig()
String
implementationName()
String
implementationPackage()
Set<DeclaredType>
imports()
Boolean
isDisableSubMappingMethodsGeneration()
boolean
isValid()
DeclaredType
mapperConfigType()
boolean
suppressTimestampInGenerated()
org.mapstruct.ap.internal.gem.ReportingPolicyGem
typeConversionPolicy()
org.mapstruct.ap.internal.gem.ReportingPolicyGem
unmappedSourcePolicy()
org.mapstruct.ap.internal.gem.ReportingPolicyGem
unmappedTargetPolicy()
Set<DeclaredType>
uses()
-
Methods inherited from class org.mapstruct.ap.internal.model.source.DelegatingOptions
toDeclaredTypes
-
-
-
-
Method Detail
-
getInstanceOn
public static MapperOptions getInstanceOn(TypeElement typeElement, Options options)
-
implementationName
public String implementationName()
- Overrides:
implementationName
in classDelegatingOptions
-
implementationPackage
public String implementationPackage()
- Overrides:
implementationPackage
in classDelegatingOptions
-
uses
public Set<DeclaredType> uses()
- Overrides:
uses
in classDelegatingOptions
-
imports
public Set<DeclaredType> imports()
- Overrides:
imports
in classDelegatingOptions
-
unmappedTargetPolicy
public org.mapstruct.ap.internal.gem.ReportingPolicyGem unmappedTargetPolicy()
- Overrides:
unmappedTargetPolicy
in classDelegatingOptions
-
unmappedSourcePolicy
public org.mapstruct.ap.internal.gem.ReportingPolicyGem unmappedSourcePolicy()
- Overrides:
unmappedSourcePolicy
in classDelegatingOptions
-
typeConversionPolicy
public org.mapstruct.ap.internal.gem.ReportingPolicyGem typeConversionPolicy()
- Overrides:
typeConversionPolicy
in classDelegatingOptions
-
componentModel
public String componentModel()
- Overrides:
componentModel
in classDelegatingOptions
-
suppressTimestampInGenerated
public boolean suppressTimestampInGenerated()
- Overrides:
suppressTimestampInGenerated
in classDelegatingOptions
-
getMappingInheritanceStrategy
public org.mapstruct.ap.internal.gem.MappingInheritanceStrategyGem getMappingInheritanceStrategy()
- Overrides:
getMappingInheritanceStrategy
in classDelegatingOptions
-
getInjectionStrategy
public org.mapstruct.ap.internal.gem.InjectionStrategyGem getInjectionStrategy()
- Overrides:
getInjectionStrategy
in classDelegatingOptions
-
isDisableSubMappingMethodsGeneration
public Boolean isDisableSubMappingMethodsGeneration()
- Overrides:
isDisableSubMappingMethodsGeneration
in classDelegatingOptions
-
getCollectionMappingStrategy
public org.mapstruct.ap.internal.gem.CollectionMappingStrategyGem getCollectionMappingStrategy()
- Overrides:
getCollectionMappingStrategy
in classDelegatingOptions
-
getNullValueCheckStrategy
public org.mapstruct.ap.internal.gem.NullValueCheckStrategyGem getNullValueCheckStrategy()
- Overrides:
getNullValueCheckStrategy
in classDelegatingOptions
-
getNullValuePropertyMappingStrategy
public org.mapstruct.ap.internal.gem.NullValuePropertyMappingStrategyGem getNullValuePropertyMappingStrategy()
- Overrides:
getNullValuePropertyMappingStrategy
in classDelegatingOptions
-
getNullValueMappingStrategy
public org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem getNullValueMappingStrategy()
- Overrides:
getNullValueMappingStrategy
in classDelegatingOptions
-
getSubclassExhaustiveStrategy
public org.mapstruct.ap.internal.gem.SubclassExhaustiveStrategyGem getSubclassExhaustiveStrategy()
- Overrides:
getSubclassExhaustiveStrategy
in classDelegatingOptions
-
getNullValueIterableMappingStrategy
public org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem getNullValueIterableMappingStrategy()
- Overrides:
getNullValueIterableMappingStrategy
in classDelegatingOptions
-
getNullValueMapMappingStrategy
public org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem getNullValueMapMappingStrategy()
- Overrides:
getNullValueMapMappingStrategy
in classDelegatingOptions
-
getBuilder
public org.mapstruct.ap.internal.gem.BuilderGem getBuilder()
- Overrides:
getBuilder
in classDelegatingOptions
-
getMappingControl
public MappingControl getMappingControl(ElementUtils elementUtils)
- Overrides:
getMappingControl
in classDelegatingOptions
-
getUnexpectedValueMappingException
public TypeMirror getUnexpectedValueMappingException()
- Overrides:
getUnexpectedValueMappingException
in classDelegatingOptions
-
mapperConfigType
public DeclaredType mapperConfigType()
-
hasMapperConfig
public boolean hasMapperConfig()
-
isValid
public boolean isValid()
-
getAnnotationMirror
public AnnotationMirror getAnnotationMirror()
-
hasAnnotation
public boolean hasAnnotation()
- Specified by:
hasAnnotation
in classDelegatingOptions
-
-