Groovy Documentation

groovy.org.codenarc.report
[Groovy] Class InlineXmlReportWriter

java.lang.Object
  groovy.org.codenarc.report.AbstractReportWriter
      groovy.org.codenarc.report.XmlReportWriter
          groovy.org.codenarc.report.InlineXmlReportWriter

@SuppressWarnings('UnnecessaryReturnKeyword')
class InlineXmlReportWriter
extends XmlReportWriter

ReportWriter that generates an XML report with inline rule descriptions. This makes it easy for Hudson to parse

Authors:
Robin Bramley


Field Summary
 
Fields inherited from class AbstractReportWriter
BASE_MESSAGES_BUNDLE, CODENARC_URL, CUSTOM_MESSAGES_BUNDLE, VERSION_FILE, customMessagesBundleName, getTimestamp, initializeResourceBundle, resourceBundle
 
Method Summary
protected def buildRulesElement(AnalysisContext analysisContext)

protected def buildViolationElement(Violation violation)

 
Methods inherited from class XmlReportWriter
buildFileElement, buildMessageElement, buildPackageAttributeMap, buildPackageElement, buildPackageElements, buildProjectElement, buildReportElement, buildRulesElement, buildSourceLineElement, buildViolationElement, cdata, isRoot, writeReport
 
Methods inherited from class AbstractReportWriter
getCodeNarcVersion, getDescriptionForRule, getFormattedTimestamp, getHtmlDescriptionForRule, getResourceBundleString, getSortedRules, initializeDefaultResourceBundle, isEnabled, writeReport, writeReport
 

Method Detail

buildRulesElement

@Override
protected def buildRulesElement(AnalysisContext analysisContext)


buildViolationElement

@Override
protected def buildViolationElement(Violation violation)


 

Groovy Documentation