java.lang.Cloneable
public class RunTargetTask
extends org.apache.tools.ant.Task
Constructor | Description |
---|---|
RunTargetTask() |
Modifier and Type | Method | Description |
---|---|---|
void |
execute() |
execute the target
|
void |
setTarget(java.lang.String target) |
The target attribute
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setTarget(java.lang.String target)
target
- the name of a target to executepublic void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- if a target is not specified