java.lang.Cloneable, DispatchableSymlinkpublic abstract class DispatchTask extends Task implements Dispatchable
Example:
<mytask action="list"/> will invoke the method with the signature public void list() in mytask's class. If the action attribute is not defined in the task or is empty, the execute() method will be called.description, location, project| Constructor | Description |
|---|---|
DispatchTask() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getAction() |
Get the action.
|
java.lang.String |
getActionParameterName() |
Get the action parameter name.
|
void |
setAction(java.lang.String action) |
Set the action.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectbindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic java.lang.String getActionParameterName()
getActionParameterName in interface DispatchableString "action" by default (can be overridden).public void setAction(java.lang.String action)
action - the method name.public java.lang.String getAction()