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)
    • 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()