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 AbstractHtmlReportWriter
CSS_FILE, MAX_SOURCE_LINE_LENGTH, SOURCE_LINE_LAST_SEGMENT_LENGTHFields inherited from class 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.ClosurebuildBodySection(AnalysisContext analysisContext, Results results) protected groovy.lang.Closuregroovy.lang.MetaClassgetProperty(String property) invokeMethod(String method, Object arguments) voidsetDefaultOutputFile(String value) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value) toString()Methods inherited from class AbstractHtmlReportWriter
buildCSS, buildHeaderSection, buildLogo, buildReportMetadata, buildRuleDescriptions, buildTitle, formatSourceLine, formatSourceLine, getCssFile, getIncludeRuleDescriptions, getMaxPriority, getTitle, isDirectoryContainingFiles, isDirectoryContainingFilesWithViolations, isIncludeRuleDescriptions, setIncludeRuleDescriptions, setMaxPriority, setTitle, writeReportMethods inherited from class 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:
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
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classAbstractHtmlReportWriter
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classAbstractHtmlReportWriter
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classAbstractHtmlReportWriter
-
getDefaultOutputFile
-
setDefaultOutputFile
-
toString
-
buildScript
protected groovy.lang.Closure buildScript()- Overrides:
buildScriptin classAbstractHtmlReportWriter
-
buildBodySection
- Specified by:
buildBodySectionin classAbstractHtmlReportWriter
-