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 Object
createGMetricsRunner
protected List
fileSets
protected List
reportWriters
-
Constructor Summary
Constructors Constructor Description GMetricsTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConfiguredReport(Report report)
void
addFileset(org.apache.tools.ant.types.FileSet fileSet)
void
execute()
groovy.lang.MetaClass
getMetaClass()
String
getMetricSetFile()
Object
getProperty(String property)
Object
invokeMethod(String method, Object arguments)
void
setMetaClass(groovy.lang.MetaClass mc)
void
setMetricSetFile(String value)
void
setProperty(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:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getMetricSetFile
public String getMetricSetFile()
-
setMetricSetFile
public void setMetricSetFile(String value)
-
execute
public void execute() throws org.apache.tools.ant.BuildException
- Overrides:
execute
in 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)
-
-