public class SortableHtmlReportWriter extends AbstractHtmlReportWriter
Modifier and Type | Field and Description |
---|---|
static Object |
DEFAULT_OUTPUT_FILE |
CSS_FILE, MAX_SOURCE_LINE_LENGTH, SOURCE_LINE_LAST_SEGMENT_LENGTH
BASE_MESSAGES_BUNDLE, CODENARC_URL, CUSTOM_MESSAGES_BUNDLE, customMessagesBundleName, getTimestamp, initializeResourceBundle, resourceBundle, VERSION_FILE
Constructor and Description |
---|
SortableHtmlReportWriter() |
Modifier and Type | Method and Description |
---|---|
protected Object |
buildBodySection(AnalysisContext analysisContext,
Object results) |
protected Object |
buildScript() |
String |
getDefaultOutputFile() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setDefaultOutputFile(String value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
String |
toString() |
buildCSS, buildHeaderSection, buildLogo, buildReportMetadata, buildRuleDescriptions, buildTitle, formatSourceLine, formatSourceLine, getCssFile, getIncludeRuleDescriptions, getMaxPriority, getTitle, isDirectoryContainingFiles, isDirectoryContainingFilesWithViolations, isIncludeRuleDescriptions, setIncludeRuleDescriptions, setMaxPriority, setTitle, writeReport
getCodeNarcVersion, getDescriptionForRule, getFormattedTimestamp, getHtmlDescriptionForRule, getOutputFile, getResourceBundleString, getResourceBundleString, getResourceBundleString, getSortedRules, getWriteToStandardOut, initializeDefaultResourceBundle, isEnabled, setOutputFile, setWriteToStandardOut, writeReport
public static final Object DEFAULT_OUTPUT_FILE
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
getMetaClass
in class AbstractHtmlReportWriter
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
in class AbstractHtmlReportWriter
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class AbstractHtmlReportWriter
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class AbstractHtmlReportWriter
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class AbstractHtmlReportWriter
public String getDefaultOutputFile()
public void setDefaultOutputFile(String value)
protected Object buildScript()
buildScript
in class AbstractHtmlReportWriter
protected Object buildBodySection(AnalysisContext analysisContext, Object results)
buildBodySection
in class AbstractHtmlReportWriter
Copyright © 2022. All rights reserved.