Class AbstractHtmlReportWriter

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

        protected abstract groovy.lang.Closure buildBodySection​(AnalysisContext analysisContext,
                                                                Results results)
      • buildCSS

        protected groovy.lang.Closure buildCSS()
      • buildScript

        protected groovy.lang.Closure buildScript()
      • buildHeaderSection

        protected groovy.lang.Closure buildHeaderSection()
      • buildReportMetadata

        protected groovy.lang.Closure buildReportMetadata()
      • buildLogo

        protected groovy.lang.Closure buildLogo()
      • buildRuleDescriptions

        protected groovy.lang.Closure buildRuleDescriptions​(AnalysisContext analysisContext)
      • formatSourceLine

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

        protected boolean isDirectoryContainingFilesWithViolations​(Results results)
      • isDirectoryContainingFiles

        protected boolean isDirectoryContainingFiles​(Results results)
      • buildTitle

        protected String buildTitle()