Class AbstractTemplateCustomization

    • Field Detail

      • headerEnabled

        protected boolean headerEnabled
        If the header should be enabled or not.
        Since:
        0.2.0
      • tableOfContentsEnabled

        protected boolean tableOfContentsEnabled
        Should the "Table of Contents" enabled or not.
        Since:
        0.2.0
      • includeUnknownGroup

        protected boolean includeUnknownGroup
        If the 'Unknown group' should be included or not.
        Since:
        0.3.0
      • unknownGroupLocalization

        protected String unknownGroupLocalization
        Returns the title for the unknown group.
        Since:
        0.4.0
      • includeEnvFormat

        protected boolean includeEnvFormat
        If the properties should be converted to their environment variable representation to have a quicker way to copy and paste them.
        Since:
        0.4.0
      • includeGenerationDate

        protected boolean includeGenerationDate
        If the generation date should be rendered into the document or not.
        Since:
        0.4.0
      • removeEmptyGroups

        protected boolean removeEmptyGroups
        If empty groups must be removed from the final document or not.
        Since:
        0.4.0
      • locale

        protected String locale
        Locale to be used during the i18n process.
        Since:
        0.4.0
    • Constructor Detail

      • AbstractTemplateCustomization

        public AbstractTemplateCustomization()
    • Method Detail

      • setTocTitle

        public void setTocTitle​(String tocTitle)
      • isHeaderEnabled

        public boolean isHeaderEnabled()
      • setHeaderEnabled

        public void setHeaderEnabled​(boolean headerEnabled)
      • isTableOfContentsEnabled

        public boolean isTableOfContentsEnabled()
      • setTableOfContentsEnabled

        public void setTableOfContentsEnabled​(boolean tableOfContentsEnabled)
      • setIncludeUnknownGroup

        public void setIncludeUnknownGroup​(boolean includeUnknownGroup)
      • isIncludeEnvFormat

        public boolean isIncludeEnvFormat()
        Description copied from interface: TemplateCustomization
        If the properties should be converted to their environment variable representation to have a quicker way to copy and paste them.
        Specified by:
        isIncludeEnvFormat in interface TemplateCustomization
      • setIncludeEnvFormat

        public void setIncludeEnvFormat​(boolean includeEnvFormat)
      • setIncludeGenerationDate

        public void setIncludeGenerationDate​(boolean includeGenerationDate)
      • setRemoveEmptyGroups

        public void setRemoveEmptyGroups​(boolean removeEmptyGroups)
      • setLocale

        public void setLocale​(String locale)
      • setUnknownGroupLocalization

        public void setUnknownGroupLocalization​(String unknownGroupLocalization)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object