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
FieldsFields inherited from class 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 StringgetDescriptionForMetricName(String metricName) 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) voidsetReportLevels(String levels) voidprotected voidwriteReport(Writer writer, ResultsNode resultsNode, AnalysisContext analysisContext) Methods inherited from class AbstractReportWriter
formatMetricResultValue, getFormattedTimestamp, getOutputFile, getResourceBundleString, getResourceBundleString, getResourceBundleStringOrNull, getWriteToStandardOut, initializeDefaultResourceBundle, initializeFormatters, setOutputFile, setWriteToStandardOut, writeReport
-
Field Details
-
DEFAULT_OUTPUT_FILE
-
-
Constructor Details
-
BasicHtmlReportWriter
public BasicHtmlReportWriter()
-
-
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
-
setReportLevels
-
getDescriptionForMetricName
-