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 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 ObjectgetDefaultOutputFile()protected StringgetDescriptionForMetric(Metric metric)groovy.lang.MetaClassgetMetaClass()ObjectgetProperty(String property)StringgetTitle()ObjectinvokeMethod(String method, Object arguments)static voidsetDefaultOutputFile(Object value)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetProperty(String property, Object value)voidsetTitle(String value)protected 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 Detail
-
DEFAULT_OUTPUT_FILE
public static final Object DEFAULT_OUTPUT_FILE
-
-
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 Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classAbstractReportWriter
-
getProperty
public Object getProperty(String property)
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classAbstractReportWriter
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classAbstractReportWriter
-
getDefaultOutputFile
public static Object getDefaultOutputFile()
-
setDefaultOutputFile
public static void setDefaultOutputFile(Object value)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String value)
-
writeReport
protected void writeReport(Writer writer, ResultsNode resultsNode, AnalysisContext analysisContext)
- Specified by:
writeReportin classAbstractReportWriter
-
-