public class InstrumentationTask
extends org.apache.tools.ant.Task
Instrumentation ANT task
It requires one or more FileSet elements pointing to class files that should be instrumented.
Classes that are referenced from the instrumented classes are searched in the classpath of the task. If a referenced class is not found a warning is generated and the instrumentation will result in less efficent code.
The following options can be set:
| Modifier and Type | Class and Description |
|---|---|
static class |
InstrumentationTask.WorkListEntry |
| Constructor and Description |
|---|
InstrumentationTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFileSet(org.apache.tools.ant.types.FileSet fs) |
void |
execute() |
void |
setAllowBlocking(boolean allowBlocking) |
void |
setAllowMonitors(boolean allowMonitors) |
void |
setCheck(boolean check) |
void |
setDebug(boolean debug) |
void |
setVerbose(boolean verbose) |
void |
setWriteClasses(boolean writeClasses) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void addFileSet(org.apache.tools.ant.types.FileSet fs)
public void setCheck(boolean check)
public void setVerbose(boolean verbose)
public void setAllowMonitors(boolean allowMonitors)
public void setAllowBlocking(boolean allowBlocking)
public void setDebug(boolean debug)
public void setWriteClasses(boolean writeClasses)
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException