Groovy Documentation

org.codenarc.report
[Groovy] Class InlineXmlReportWriter

java.lang.Object
  org.codenarc.report.AbstractReportWriter
      org.codenarc.report.XmlReportWriter
          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
Version:
\$Revision: 560 \$ - \$Date: 2011-01-22 02:09:50 -0500 (Sat, 22 Jan 2011) \$


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

protected def buildViolationElement(Violation violation)


 

Groovy Documentation