Package org.codenarc.report
Class SortableHtmlReportWriter
- java.lang.Object
-
- org.codenarc.report.AbstractReportWriter
-
- org.codenarc.report.AbstractHtmlReportWriter
-
- org.codenarc.report.SortableHtmlReportWriter
-
- All Implemented Interfaces:
groovy.lang.GroovyObject,ReportWriter
public class SortableHtmlReportWriter extends AbstractHtmlReportWriter implements groovy.lang.GroovyObject
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_OUTPUT_FILE-
Fields inherited from class org.codenarc.report.AbstractHtmlReportWriter
CSS_FILE, MAX_SOURCE_LINE_LENGTH, SOURCE_LINE_LAST_SEGMENT_LENGTH
-
Fields inherited from class org.codenarc.report.AbstractReportWriter
BASE_MESSAGES_BUNDLE, CODENARC_URL, CUSTOM_MESSAGES_BUNDLE, customMessagesBundleName, getTimestamp, initializeResourceBundle, resourceBundle, VERSION_FILE
-
-
Constructor Summary
Constructors Constructor Description SortableHtmlReportWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected groovy.lang.ClosurebuildBodySection(AnalysisContext analysisContext, Results results)protected groovy.lang.ClosurebuildScript()StringgetDefaultOutputFile()groovy.lang.MetaClassgetMetaClass()ObjectgetProperty(String property)ObjectinvokeMethod(String method, Object arguments)voidsetDefaultOutputFile(String value)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetProperty(String property, Object value)StringtoString()-
Methods inherited from class org.codenarc.report.AbstractHtmlReportWriter
buildCSS, buildHeaderSection, buildLogo, buildReportMetadata, buildRuleDescriptions, buildTitle, formatSourceLine, formatSourceLine, getCssFile, getIncludeRuleDescriptions, getMaxPriority, getTitle, isDirectoryContainingFiles, isDirectoryContainingFilesWithViolations, isIncludeRuleDescriptions, setIncludeRuleDescriptions, setMaxPriority, setTitle, writeReport
-
Methods inherited from class org.codenarc.report.AbstractReportWriter
getCodeNarcVersion, getDescriptionForRule, getFormattedTimestamp, getHtmlDescriptionForRule, getOutputFile, getResourceBundleString, getResourceBundleString, getResourceBundleString, getSortedRules, getWriteToStandardOut, initializeDefaultResourceBundle, isEnabled, setOutputFile, setWriteToStandardOut, writeReport
-
-
-
-
Field Detail
-
DEFAULT_OUTPUT_FILE
public static final String DEFAULT_OUTPUT_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
getMetaClassin classAbstractHtmlReportWriter
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
setMetaClassin classAbstractHtmlReportWriter
-
invokeMethod
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classAbstractHtmlReportWriter
-
getProperty
public Object getProperty(String property)
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classAbstractHtmlReportWriter
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classAbstractHtmlReportWriter
-
getDefaultOutputFile
public String getDefaultOutputFile()
-
setDefaultOutputFile
public void setDefaultOutputFile(String value)
-
buildScript
protected groovy.lang.Closure buildScript()
- Overrides:
buildScriptin classAbstractHtmlReportWriter
-
buildBodySection
protected groovy.lang.Closure buildBodySection(AnalysisContext analysisContext, Results results)
- Specified by:
buildBodySectionin classAbstractHtmlReportWriter
-
-