Package org.gmetrics.report
Class BasicHtmlReportWriter
- java.lang.Object
-
- org.gmetrics.report.AbstractReportWriter
-
- org.gmetrics.report.BasicHtmlReportWriter
-
- All Implemented Interfaces:
groovy.lang.GroovyObject
,ReportWriter
@Mixin({MetricsCriteriaFilter.class,LevelsCriteriaFilter.class,FunctionsCriteriaFilter.class}) public class BasicHtmlReportWriter extends AbstractReportWriter
-
-
Field Summary
Fields Modifier and Type Field Description static Object
DEFAULT_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 BasicHtmlReportWriter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Object
getDefaultOutputFile()
protected String
getDescriptionForMetricName(String metricName)
groovy.lang.MetaClass
getMetaClass()
Object
getProperty(String property)
String
getTitle()
Object
invokeMethod(String method, Object arguments)
static void
setDefaultOutputFile(Object value)
void
setMetaClass(groovy.lang.MetaClass mc)
void
setProperty(String property, Object value)
void
setReportLevels(String levels)
void
setTitle(String value)
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 Detail
-
DEFAULT_OUTPUT_FILE
public static final Object DEFAULT_OUTPUT_FILE
-
-
Method Detail
-
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
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
- Overrides:
invokeMethod
in classAbstractReportWriter
-
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
getProperty
in classAbstractReportWriter
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in 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:
writeReport
in classAbstractReportWriter
-
setReportLevels
public void setReportLevels(String levels)
-
-