Package org.codenarc.report
Class InlineXmlReportWriter
- java.lang.Object
-
- org.codenarc.report.AbstractReportWriter
-
- org.codenarc.report.XmlReportWriter
-
- org.codenarc.report.InlineXmlReportWriter
-
- All Implemented Interfaces:
groovy.lang.GroovyObject
,ReportWriter
public class InlineXmlReportWriter extends XmlReportWriter implements groovy.lang.GroovyObject
-
-
Field Summary
-
Fields inherited from class org.codenarc.report.AbstractReportWriter
BASE_MESSAGES_BUNDLE, CODENARC_URL, CUSTOM_MESSAGES_BUNDLE, customMessagesBundleName, getTimestamp, initializeResourceBundle, resourceBundle, VERSION_FILE
-
-
Constructor Summary
Constructors Constructor Description InlineXmlReportWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
Methods inherited from class org.codenarc.report.XmlReportWriter
buildFileElement, buildMessageElement, buildPackageAttributeMap, buildPackageElement, buildPackageElements, buildProjectElement, buildReportElement, buildSourceLineElement, getDefaultOutputFile, getTitle, isRoot, setDefaultOutputFile, setTitle, writeReport
-
Methods inherited from class org.codenarc.report.AbstractReportWriter
getCodeNarcVersion, getDescriptionForRule, getFormattedTimestamp, getHtmlDescriptionForRule, getOutputFile, getResourceBundleString, getResourceBundleString, getResourceBundleString, getSortedRules, getWriteToStandardOut, initializeDefaultResourceBundle, isEnabled, setOutputFile, setWriteToStandardOut, writeReport
-
-
-
-
Method Detail
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
getMetaClass
in classXmlReportWriter
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
setMetaClass
in classXmlReportWriter
-
invokeMethod
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
- Overrides:
invokeMethod
in classXmlReportWriter
-
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
getProperty
in classXmlReportWriter
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in classXmlReportWriter
-
buildViolationElement
protected groovy.lang.Closure buildViolationElement(Violation violation)
- Overrides:
buildViolationElement
in classXmlReportWriter
-
buildRulesElement
protected groovy.lang.Closure buildRulesElement(AnalysisContext analysisContext)
- Overrides:
buildRulesElement
in classXmlReportWriter
-
-