public class XmlReportWriter extends AbstractReportWriter
BASE_MESSAGES_BUNDLE, CODENARC_URL, CUSTOM_MESSAGES_BUNDLE, customMessagesBundleName, getTimestamp, initializeResourceBundle, resourceBundle, VERSION_FILE| Constructor and Description |
|---|
XmlReportWriter() |
getCodeNarcVersion, getDescriptionForRule, getFormattedTimestamp, getHtmlDescriptionForRule, getOutputFile, getResourceBundleString, getResourceBundleString, getResourceBundleString, getSortedRules, getWriteToStandardOut, initializeDefaultResourceBundle, isEnabled, setOutputFile, setWriteToStandardOut, writeReportpublic groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectgetMetaClass in class AbstractReportWriterpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectsetMetaClass in class AbstractReportWriterpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class AbstractReportWriterpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class AbstractReportWriterpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class AbstractReportWriterpublic 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 AbstractReportWriterprotected Object buildReportElement()
protected Object buildProjectElement(AnalysisContext analysisContext)
protected boolean isRoot(Object results)
protected Object buildFileElement(FileResults results)
protected Object buildRulesElement(AnalysisContext analysisContext)
Copyright © 2021. All rights reserved.