org.gmetrics
Class GMetricsRunner
java.lang.Object
org.gmetrics.GMetricsRunner
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class GMetricsRunner
- extends java.lang.Object
- implements groovy.lang.GroovyObject
Helper class to run GMetrics.
The following properties must be configured before invoking the execute() method:
sourceAnalyzer - An instance of a org.gmetrics.analyzer.SourceAnalyzer implementation.
reportWriters - The list of ReportWriter instances. A report is generated
for each element in this list. This list can be empty, but cannot be null.
NOTE: This is an internal class. Its API is subject to change.
- 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 |
GMetricsRunner
public GMetricsRunner()
getMetricSet
public MetricSet getMetricSet()
setMetricSet
public void setMetricSet(MetricSet value)
getSourceAnalyzer
public SourceAnalyzer getSourceAnalyzer()
setSourceAnalyzer
public void setSourceAnalyzer(SourceAnalyzer value)
getReportWriters
public java.util.List getReportWriters()
setReportWriters
public void setReportWriters(java.util.List value)
execute
public ResultsNode execute()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject
invokeMethod
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject
Copyright © 2010. All Rights Reserved.