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 Object
protected String
getDescriptionForMetric
(Metric metric) groovy.lang.MetaClass
getProperty
(String property) getTitle()
invokeMethod
(String method, Object arguments) static void
setDefaultOutputFile
(Object value) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value) void
protected void
writeReport
(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:
getMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
getMetaClass
in classAbstractReportWriter
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
setMetaClass
in classAbstractReportWriter
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
- Overrides:
invokeMethod
in classAbstractReportWriter
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
getProperty
in classAbstractReportWriter
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in classAbstractReportWriter
-
getDefaultOutputFile
-
setDefaultOutputFile
-
getTitle
-
setTitle
-
writeReport
- Specified by:
writeReport
in classAbstractReportWriter
-
getDescriptionForMetric
-