Package org.codenarc.report
Class BaselineXmlReportWriter
java.lang.Object
org.codenarc.report.AbstractReportWriter
org.codenarc.report.BaselineXmlReportWriter
- All Implemented Interfaces:
groovy.lang.GroovyObject
,ReportWriter
-
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected groovy.lang.Closure
buildFileElement
(FileResults results) protected groovy.lang.Closure
buildFileElement
(Results results) protected groovy.lang.Closure
buildFileElements
(Results results) protected groovy.lang.Closure
buildMessageElement
(Violation violation) protected groovy.lang.Closure
buildProjectElement
(AnalysisContext analysisContext) protected groovy.lang.Closure
protected groovy.lang.Closure
buildViolationElement
(Violation violation) groovy.lang.MetaClass
getProperty
(String property) getTitle()
invokeMethod
(String method, Object arguments) void
setDefaultOutputFile
(String value) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value) void
void
writeReport
(Writer writer, AnalysisContext analysisContext, Results results) Methods inherited from class org.codenarc.report.AbstractReportWriter
getCodeNarcVersion, getDescriptionForRule, getFormattedTimestamp, getHtmlDescriptionForRule, getOutputFile, getResourceBundleString, getResourceBundleString, getResourceBundleString, getSortedRules, getWriteToStandardOut, initializeDefaultResourceBundle, isEnabled, setOutputFile, setWriteToStandardOut, writeReport
-
Constructor Details
-
BaselineXmlReportWriter
public BaselineXmlReportWriter()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
getMetaClass
in classAbstractReportWriter
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
setMetaClass
in classAbstractReportWriter
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
- Overrides:
invokeMethod
in classAbstractReportWriter
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
getProperty
in classAbstractReportWriter
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in classAbstractReportWriter
-
getTitle
-
setTitle
-
getDefaultOutputFile
-
setDefaultOutputFile
-
writeReport
- Specified by:
writeReport
in classAbstractReportWriter
-
buildReportElement
protected groovy.lang.Closure buildReportElement() -
buildProjectElement
-
buildFileElements
-
buildFileElement
-
buildFileElement
-
buildViolationElement
-
buildMessageElement
-