Class AbstractHtmlReportWriter

    • Field Detail

      • MAX_SOURCE_LINE_LENGTH

        protected static final Object MAX_SOURCE_LINE_LENGTH
      • SOURCE_LINE_LAST_SEGMENT_LENGTH

        protected static final Object SOURCE_LINE_LAST_SEGMENT_LENGTH
      • CSS_FILE

        protected static final Object CSS_FILE
    • Constructor Detail

      • AbstractHtmlReportWriter

        public AbstractHtmlReportWriter()
    • Method Detail

      • formatSourceLine

        protected String formatSourceLine​(String sourceLine)
      • getMetaClass

        public groovy.lang.MetaClass getMetaClass()
        Specified by:
        getMetaClass in interface groovy.lang.GroovyObject
        Overrides:
        getMetaClass in class AbstractReportWriter
      • setMetaClass

        public void setMetaClass​(groovy.lang.MetaClass mc)
        Specified by:
        setMetaClass in interface groovy.lang.GroovyObject
        Overrides:
        setMetaClass in class AbstractReportWriter
      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle​(String value)
      • getIncludeRuleDescriptions

        public boolean getIncludeRuleDescriptions()
      • isIncludeRuleDescriptions

        public boolean isIncludeRuleDescriptions()
      • setIncludeRuleDescriptions

        public void setIncludeRuleDescriptions​(boolean value)
      • getMaxPriority

        public int getMaxPriority()
      • setMaxPriority

        public void setMaxPriority​(int value)
      • getCssFile

        protected String getCssFile()
      • buildCSS

        protected Object buildCSS()
      • buildScript

        protected Object buildScript()
      • buildHeaderSection

        protected Object buildHeaderSection()
      • buildReportMetadata

        protected Object buildReportMetadata()
      • buildLogo

        protected Object buildLogo()
      • formatSourceLine

        protected String formatSourceLine​(String sourceLine,
                                          int startColumn)
      • isDirectoryContainingFilesWithViolations

        protected boolean isDirectoryContainingFilesWithViolations​(Results results)
      • isDirectoryContainingFiles

        protected boolean isDirectoryContainingFiles​(Results results)
      • buildTitle

        protected String buildTitle()