Groovy Documentation

org.gmetrics.report
[Groovy] Class AbstractReportWriter

java.lang.Object
  org.gmetrics.report.AbstractReportWriter
All Implemented Interfaces:
ReportWriter

abstract class AbstractReportWriter

Abstract superclass for ReportWriter implementation classes.

Subclasses must implement the writeReport(Writer, ResultsNode, AnalysisContext) method and define a defaultOutputFile property.

Authors:
Chris Mair
Version:
\$Revision: 91 \$ - \$Date: 2010-03-05 20:21:49 -0500 (Fri, 05 Mar 2010) \$


Field Summary
protected static def BASE_MESSAGES_BUNDLE

protected static def CUSTOM_MESSAGES_BUNDLE

protected static def GMETRICS_URL

protected def LOG

protected static def VERSION_FILE

protected def customMessagesBundleName

protected def getTimestamp

protected def initializeResourceBundle

protected def resourceBundle

 
Property Summary
String outputFile

Object writeToStandardOut

 
Method Summary
protected String getFormattedTimestamp()

protected String getGMetricsVersion()

protected String getResourceBundleString(String resourceKey, String defaultString = '?')

protected void initializeDefaultResourceBundle()

void writeReport(Writer writer, ResultsNode resultsNode, AnalysisContext analysisContext)

void writeReport(ResultsNode resultsNode, AnalysisContext analysisContext)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

BASE_MESSAGES_BUNDLE

protected static final def BASE_MESSAGES_BUNDLE


CUSTOM_MESSAGES_BUNDLE

protected static final def CUSTOM_MESSAGES_BUNDLE


GMETRICS_URL

protected static final def GMETRICS_URL


LOG

protected final def LOG


VERSION_FILE

protected static final def VERSION_FILE


customMessagesBundleName

protected def customMessagesBundleName


getTimestamp

protected def getTimestamp


initializeResourceBundle

protected def initializeResourceBundle


resourceBundle

protected def resourceBundle


 
Property Detail

outputFile

String outputFile


writeToStandardOut

Object writeToStandardOut


 
Method Detail

getFormattedTimestamp

protected String getFormattedTimestamp()


getGMetricsVersion

protected String getGMetricsVersion()


getResourceBundleString

protected String getResourceBundleString(String resourceKey, String defaultString = '?')


initializeDefaultResourceBundle

protected void initializeDefaultResourceBundle()


writeReport

void writeReport(Writer writer, ResultsNode resultsNode, AnalysisContext analysisContext)


writeReport

void writeReport(ResultsNode resultsNode, AnalysisContext analysisContext)


 

Groovy Documentation