groovy.lang.GroovyObject
, ReportWriter
public class SortableHtmlReportWriter extends AbstractHtmlReportWriter implements groovy.lang.GroovyObject
Modifier and Type | Field | Description |
---|---|---|
static String |
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 | Description |
---|---|
SortableHtmlReportWriter() |
Modifier and Type | Method | Description |
---|---|---|
protected groovy.lang.Closure |
buildBodySection(AnalysisContext analysisContext,
Results results) |
|
protected groovy.lang.Closure |
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 String 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 groovy.lang.Closure buildScript()
buildScript
in class AbstractHtmlReportWriter
protected groovy.lang.Closure buildBodySection(AnalysisContext analysisContext, Results results)
buildBodySection
in class AbstractHtmlReportWriter
Copyright © 2019. All rights reserved.