public class BaselineXmlReportWriter extends AbstractReportWriter implements groovy.lang.GroovyObject
BASE_MESSAGES_BUNDLE, CODENARC_URL, CUSTOM_MESSAGES_BUNDLE, customMessagesBundleName, getTimestamp, initializeResourceBundle, resourceBundle, VERSION_FILE
Constructor and Description |
---|
BaselineXmlReportWriter() |
Modifier and Type | Method and Description |
---|---|
protected Object |
buildFileElement(FileResults results) |
protected Object |
buildFileElement(Object results) |
protected Object |
buildFileElements(Object results) |
protected Object |
buildMessageElement(Violation violation) |
protected Object |
buildProjectElement(AnalysisContext analysisContext) |
protected Object |
buildReportElement() |
protected Object |
buildViolationElement(Violation violation) |
String |
getDefaultOutputFile() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
String |
getTitle() |
Object |
invokeMethod(String method,
Object arguments) |
void |
setDefaultOutputFile(String value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
void |
setTitle(String value) |
void |
writeReport(Writer writer,
AnalysisContext analysisContext,
Results results) |
getCodeNarcVersion, getDescriptionForRule, getFormattedTimestamp, getHtmlDescriptionForRule, getOutputFile, getResourceBundleString, getResourceBundleString, getResourceBundleString, getSortedRules, getWriteToStandardOut, initializeDefaultResourceBundle, isEnabled, setOutputFile, setWriteToStandardOut, writeReport
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
getMetaClass
in class AbstractReportWriter
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
in class AbstractReportWriter
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class AbstractReportWriter
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class AbstractReportWriter
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class AbstractReportWriter
public String getTitle()
public void setTitle(String value)
public String getDefaultOutputFile()
public void setDefaultOutputFile(String value)
public void writeReport(Writer writer, AnalysisContext analysisContext, Results results)
writeReport
in class AbstractReportWriter
protected Object buildReportElement()
protected Object buildProjectElement(AnalysisContext analysisContext)
protected Object buildFileElement(FileResults results)
Copyright © 2022. All rights reserved.