|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.gmetrics.report.AbstractReportWriter
class AbstractReportWriter
Abstract superclass for ReportWriter implementation classes.
Subclasses must implement thewriteReport(Writer, ResultsNode, AnalysisContext)
method
and define a defaultOutputFile
property.
Property 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
|
String |
outputFile
|
protected def |
resourceBundle
|
Object |
writeToStandardOut
|
Constructor Summary | |
AbstractReportWriter()
|
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 |
Property Detail |
---|
protected static final def BASE_MESSAGES_BUNDLE
protected static final def CUSTOM_MESSAGES_BUNDLE
protected static final def GMETRICS_URL
protected final def LOG
protected static final def VERSION_FILE
protected def customMessagesBundleName
protected def getTimestamp
protected def initializeResourceBundle
String outputFile
protected def resourceBundle
Object writeToStandardOut
Constructor Detail |
---|
AbstractReportWriter()
Method Detail |
---|
protected String getFormattedTimestamp()
protected String getGMetricsVersion()
protected String getResourceBundleString(String resourceKey, String defaultString = '?')
protected void initializeDefaultResourceBundle()
public void writeReport(Writer writer, ResultsNode resultsNode, AnalysisContext analysisContext)
void writeReport(ResultsNode resultsNode, AnalysisContext analysisContext)
Groovy Documentation