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,java.lang.Cloneable
public class GMetricsTask extends org.apache.tools.ant.Task implements groovy.lang.GroovyObject
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ObjectcreateGMetricsRunnerprotected java.util.ListfileSetsprotected java.util.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()java.lang.StringgetMetricSetFile()java.lang.ObjectgetProperty(java.lang.String property)java.lang.ObjectinvokeMethod(java.lang.String method, java.lang.Object arguments)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetMetricSetFile(java.lang.String value)voidsetProperty(java.lang.String property, java.lang.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 java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments)- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(java.lang.String property, java.lang.Object value)- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject
-
getMetricSetFile
public java.lang.String getMetricSetFile()
-
setMetricSetFile
public void setMetricSetFile(java.lang.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)
-
-