Package org.gmetrics.report
Class XmlReportWriter
java.lang.Object
org.gmetrics.report.AbstractReportWriter
org.gmetrics.report.XmlReportWriter
- All Implemented Interfaces:
groovy.lang.GroovyObject,ReportWriter
@Mixin({MetricsCriteriaFilter.class,LevelsCriteriaFilter.class,FunctionsCriteriaFilter.class})
public class XmlReportWriter
extends AbstractReportWriter
-
Field Summary
FieldsFields inherited from class org.gmetrics.report.AbstractReportWriter
BASE_MESSAGES_BUNDLE, CUSTOM_MESSAGES_BUNDLE, customMessagesBundleName, formatterFactory, formatters, getTimestamp, GMETRICS_URL, initializeResourceBundle, LOG, resourceBundle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Objectprotected StringgetDescriptionForMetric(Metric metric) groovy.lang.MetaClassgetProperty(String property) getTitle()invokeMethod(String method, Object arguments) static voidsetDefaultOutputFile(Object value) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value) voidprotected voidwriteReport(Writer writer, ResultsNode resultsNode, AnalysisContext analysisContext) Methods inherited from class org.gmetrics.report.AbstractReportWriter
formatMetricResultValue, getFormattedTimestamp, getOutputFile, getResourceBundleString, getResourceBundleString, getResourceBundleStringOrNull, getWriteToStandardOut, initializeDefaultResourceBundle, initializeFormatters, setOutputFile, setWriteToStandardOut, writeReport
-
Field Details
-
DEFAULT_OUTPUT_FILE
-
-
Constructor Details
-
XmlReportWriter
public XmlReportWriter()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
getMetaClassin classAbstractReportWriter
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
setMetaClassin classAbstractReportWriter
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classAbstractReportWriter
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classAbstractReportWriter
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classAbstractReportWriter
-
getDefaultOutputFile
-
setDefaultOutputFile
-
getTitle
-
setTitle
-
writeReport
- Specified by:
writeReportin classAbstractReportWriter
-
getDescriptionForMetric
-