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


Field Summary
static def DEFAULT_OUTPUT_FILE

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

String title

 
Method Summary
protected String getDescriptionForMetric(Metric metric)

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

 
Methods inherited from class AbstractReportWriter
formatMetricResultValue, getFormattedTimestamp, getResourceBundleString, getResourceBundleStringOrNull, initializeDefaultResourceBundle, initializeFormatters, 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

@Override
protected void writeReport(Writer writer, ResultsNode resultsNode, AnalysisContext analysisContext)


 

Groovy Documentation