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
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected groovy.lang.Closure
buildBodySection
(AnalysisContext analysisContext, Results results) protected groovy.lang.Closure
groovy.lang.MetaClass
getProperty
(String property) invokeMethod
(String method, Object arguments) void
setDefaultOutputFile
(String value) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value) toString()
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 Details
-
DEFAULT_OUTPUT_FILE
- See Also:
-
-
Constructor Details
-
SortableHtmlReportWriter
public SortableHtmlReportWriter()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
getMetaClass
in classAbstractHtmlReportWriter
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
setMetaClass
in classAbstractHtmlReportWriter
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
- Overrides:
invokeMethod
in classAbstractHtmlReportWriter
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
getProperty
in classAbstractHtmlReportWriter
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in classAbstractHtmlReportWriter
-
getDefaultOutputFile
-
setDefaultOutputFile
-
toString
-
buildScript
protected groovy.lang.Closure buildScript()- Overrides:
buildScript
in classAbstractHtmlReportWriter
-
buildBodySection
- Specified by:
buildBodySection
in classAbstractHtmlReportWriter
-