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
Fields Modifier and Type Field Description static java.lang.ObjectDEFAULT_OUTPUT_FILE-
Fields 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 Constructor Description XmlReportWriter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.ObjectgetDefaultOutputFile()protected java.lang.StringgetDescriptionForMetric(Metric metric)groovy.lang.MetaClassgetMetaClass()java.lang.ObjectgetProperty(java.lang.String property)java.lang.StringgetTitle()java.lang.ObjectinvokeMethod(java.lang.String method, java.lang.Object arguments)static voidsetDefaultOutputFile(java.lang.Object value)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetProperty(java.lang.String property, java.lang.Object value)voidsetTitle(java.lang.String value)protected voidwriteReport(java.io.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
-
-
-
-
Method Detail
-
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
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments)- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classAbstractReportWriter
-
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classAbstractReportWriter
-
setProperty
public void setProperty(java.lang.String property, java.lang.Object value)- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classAbstractReportWriter
-
getDefaultOutputFile
public static java.lang.Object getDefaultOutputFile()
-
setDefaultOutputFile
public static void setDefaultOutputFile(java.lang.Object value)
-
getTitle
public java.lang.String getTitle()
-
setTitle
public void setTitle(java.lang.String value)
-
writeReport
protected void writeReport(java.io.Writer writer, ResultsNode resultsNode, AnalysisContext analysisContext)- Specified by:
writeReportin classAbstractReportWriter
-
getDescriptionForMetric
protected java.lang.String getDescriptionForMetric(Metric metric)
-
-