Package org.gmetrics.ant
Class GMetricsTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.gmetrics.ant.GMetricsTask
-
- All Implemented Interfaces:
groovy.lang.GroovyObject,Cloneable
public class GMetricsTask extends org.apache.tools.ant.Task implements groovy.lang.GroovyObject
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectcreateGMetricsRunnerprotected ListfileSetsprotected ListreportWriters
-
Constructor Summary
Constructors Constructor Description GMetricsTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConfiguredReport(Report report)voidaddFileset(org.apache.tools.ant.types.FileSet fileSet)voidexecute()groovy.lang.MetaClassgetMetaClass()StringgetMetricSetFile()ObjectgetProperty(String property)ObjectinvokeMethod(String method, Object arguments)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetMetricSetFile(String value)voidsetProperty(String property, Object value)-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getProperty
public Object getProperty(String property)
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject
-
getMetricSetFile
public String getMetricSetFile()
-
setMetricSetFile
public void setMetricSetFile(String value)
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet fileSet)
-
addConfiguredReport
public void addConfiguredReport(Report report)
-
-