groovy.lang.GroovyObject
, ReportWriter
public class InlineXmlReportWriter extends XmlReportWriter implements groovy.lang.GroovyObject
BASE_MESSAGES_BUNDLE, CODENARC_URL, CUSTOM_MESSAGES_BUNDLE, customMessagesBundleName, getTimestamp, initializeResourceBundle, resourceBundle, VERSION_FILE
Constructor | Description |
---|---|
InlineXmlReportWriter() |
Modifier and Type | Method | Description |
---|---|---|
protected groovy.lang.Closure |
buildRulesElement(AnalysisContext analysisContext) |
|
protected groovy.lang.Closure |
buildViolationElement(Violation violation) |
|
groovy.lang.MetaClass |
getMetaClass() |
|
Object |
getProperty(String property) |
|
Object |
invokeMethod(String method,
Object arguments) |
|
void |
setMetaClass(groovy.lang.MetaClass mc) |
|
void |
setProperty(String property,
Object value) |
getCodeNarcVersion, getDescriptionForRule, getFormattedTimestamp, getHtmlDescriptionForRule, getOutputFile, getResourceBundleString, getResourceBundleString, getResourceBundleString, getSortedRules, getWriteToStandardOut, initializeDefaultResourceBundle, isEnabled, setOutputFile, setWriteToStandardOut, writeReport
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildFileElement, buildMessageElement, buildPackageAttributeMap, buildPackageElement, buildPackageElements, buildProjectElement, buildReportElement, buildSourceLineElement, getDefaultOutputFile, getTitle, isRoot, setDefaultOutputFile, setTitle, writeReport
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
getMetaClass
in class XmlReportWriter
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
in class XmlReportWriter
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class XmlReportWriter
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class XmlReportWriter
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class XmlReportWriter
protected groovy.lang.Closure buildViolationElement(Violation violation)
buildViolationElement
in class XmlReportWriter
protected groovy.lang.Closure buildRulesElement(AnalysisContext analysisContext)
buildRulesElement
in class XmlReportWriter
Copyright © 2019. All rights reserved.