public class HtmlReportWriter extends AbstractHtmlReportWriter implements groovy.lang.GroovyObject
| Modifier and Type | Field and Description |
|---|---|
static Object |
DEFAULT_OUTPUT_FILE |
CSS_FILE, MAX_SOURCE_LINE_LENGTH, SOURCE_LINE_LAST_SEGMENT_LENGTHBASE_MESSAGES_BUNDLE, CODENARC_URL, CUSTOM_MESSAGES_BUNDLE, customMessagesBundleName, getTimestamp, initializeResourceBundle, resourceBundle, VERSION_FILE| Constructor and Description |
|---|
HtmlReportWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
buildBodySection(AnalysisContext analysisContext,
Object results) |
String |
getDefaultOutputFile() |
boolean |
getIncludeSummaryByPackage() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
boolean |
isIncludeSummaryByPackage() |
void |
setDefaultOutputFile(String value) |
void |
setIncludeSummaryByPackage(boolean value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
String |
toString() |
buildCSS, buildHeaderSection, buildLogo, buildReportMetadata, buildRuleDescriptions, buildScript, buildTitle, formatSourceLine, formatSourceLine, getCssFile, getIncludeRuleDescriptions, getMaxPriority, getTitle, isDirectoryContainingFiles, isDirectoryContainingFilesWithViolations, isIncludeRuleDescriptions, setIncludeRuleDescriptions, setMaxPriority, setTitle, writeReportgetCodeNarcVersion, getDescriptionForRule, getFormattedTimestamp, getHtmlDescriptionForRule, getOutputFile, getResourceBundleString, getResourceBundleString, getResourceBundleString, getSortedRules, getWriteToStandardOut, initializeDefaultResourceBundle, isEnabled, setOutputFile, setWriteToStandardOut, writeReportpublic static final Object DEFAULT_OUTPUT_FILE
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectgetMetaClass in class AbstractHtmlReportWriterpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectsetMetaClass in class AbstractHtmlReportWriterpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class AbstractHtmlReportWriterpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class AbstractHtmlReportWriterpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class AbstractHtmlReportWriterpublic String getDefaultOutputFile()
public void setDefaultOutputFile(String value)
public boolean getIncludeSummaryByPackage()
public boolean isIncludeSummaryByPackage()
public void setIncludeSummaryByPackage(boolean value)
protected Object buildBodySection(AnalysisContext analysisContext, Object results)
buildBodySection in class AbstractHtmlReportWriterCopyright © 2021. All rights reserved.