org.gmetrics.report
Class BasicHtmlReportWriter
java.lang.Object
org.gmetrics.report.AbstractReportWriter
org.gmetrics.report.BasicHtmlReportWriter
- All Implemented Interfaces:
- groovy.lang.GroovyObject, ReportWriter
public class BasicHtmlReportWriter
- extends AbstractReportWriter
- implements groovy.lang.GroovyObject
ReportWriter that generates a basic HTML report. The HTML includes a table containing
a row for each package, class and method, and the metric values for each Metric
within the passed-in MetricSet.
- Version:
- $Revision: 101 $ - $Date: 2010-03-10 19:17:23 -0500 (Wed, 10 Mar 2010) $
- Author:
- Chris Mair
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_OUTPUT_FILE
public static final java.lang.Object DEFAULT_OUTPUT_FILE
BasicHtmlReportWriter
public BasicHtmlReportWriter()
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
public void writeReport(java.io.Writer writer,
ResultsNode resultsNode,
AnalysisContext analysisContext)
- Specified by:
writeReport in class AbstractReportWriter
getDescriptionForMetricName
protected java.lang.String getDescriptionForMetricName(java.lang.String metricName)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject- Overrides:
getMetaClass in class AbstractReportWriter
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject- Overrides:
setMetaClass in class AbstractReportWriter
invokeMethod
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject- Overrides:
invokeMethod in class AbstractReportWriter
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject- Overrides:
getProperty in class AbstractReportWriter
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject- Overrides:
setProperty in class AbstractReportWriter
Copyright © 2010. All Rights Reserved.