Class Options


  • public class Options
    extends Object
    The options passed to the code generator.
    Author:
    Andreas Gudian, Gunnar Morling
    • Constructor Detail

      • Options

        public Options​(boolean suppressGeneratorTimestamp,
                       boolean suppressGeneratorVersionComment,
                       org.mapstruct.ap.internal.gem.ReportingPolicyGem unmappedTargetPolicy,
                       org.mapstruct.ap.internal.gem.ReportingPolicyGem unmappedSourcePolicy,
                       String defaultComponentModel,
                       String defaultInjectionStrategy,
                       boolean alwaysGenerateSpi,
                       boolean disableBuilders,
                       boolean verbose,
                       org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem nullValueIterableMappingStrategy,
                       org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem nullValueMapMappingStrategy)
    • Method Detail

      • isSuppressGeneratorTimestamp

        public boolean isSuppressGeneratorTimestamp()
      • isSuppressGeneratorVersionComment

        public boolean isSuppressGeneratorVersionComment()
      • getUnmappedTargetPolicy

        public org.mapstruct.ap.internal.gem.ReportingPolicyGem getUnmappedTargetPolicy()
      • getUnmappedSourcePolicy

        public org.mapstruct.ap.internal.gem.ReportingPolicyGem getUnmappedSourcePolicy()
      • getDefaultComponentModel

        public String getDefaultComponentModel()
      • getDefaultInjectionStrategy

        public String getDefaultInjectionStrategy()
      • isAlwaysGenerateSpi

        public boolean isAlwaysGenerateSpi()
      • isDisableBuilders

        public boolean isDisableBuilders()
      • isVerbose

        public boolean isVerbose()
      • getNullValueIterableMappingStrategy

        public org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem getNullValueIterableMappingStrategy()
      • getNullValueMapMappingStrategy

        public org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem getNullValueMapMappingStrategy()