Groovy Documentation

org.gmetrics.report
[Groovy] Class XmlReportWriter

java.lang.Object
  org.gmetrics.report.AbstractReportWriter
      org.gmetrics.report.XmlReportWriter

@Mixin(MetricsCriteriaFilter)
@Mixin(LevelsCriteriaFilter)
@Mixin(FunctionsCriteriaFilter)
class XmlReportWriter
extends AbstractReportWriter

ReportWriter that generates an XML report. The XML includes and the metric descriptions for each Metric within the passed-in MetricSet.

Authors:
Chris Mair
Version:
\$Revision: 117 \$ - \$Date: 2010-07-10 21:42:14 -0400 (Sat, 10 Jul 2010) \$


Field Summary
static def DEFAULT_OUTPUT_FILE

 
Fields inherited from class AbstractReportWriter
BASE_MESSAGES_BUNDLE, CUSTOM_MESSAGES_BUNDLE, GMETRICS_URL, LOG, VERSION_FILE, customMessagesBundleName, getTimestamp, initializeResourceBundle, resourceBundle
 
Property Summary
static def defaultOutputFile

String title

 
Method Summary
protected String getDescriptionForMetric(Metric metric)

void writeReport(Writer writer, ResultsNode resultsNode, AnalysisContext analysisContext)

 
Methods inherited from class AbstractReportWriter
getFormattedTimestamp, getGMetricsVersion, getResourceBundleString, initializeDefaultResourceBundle, writeReport, writeReport
 

Field Detail

DEFAULT_OUTPUT_FILE

public static final def DEFAULT_OUTPUT_FILE


 
Property Detail

defaultOutputFile

static def defaultOutputFile


title

String title


 
Method Detail

getDescriptionForMetric

protected String getDescriptionForMetric(Metric metric)


writeReport

void writeReport(Writer writer, ResultsNode resultsNode, AnalysisContext analysisContext)


 

Groovy Documentation