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.| Modifier and Type | Field and Description |
|---|---|
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | Returns: theString "action" by default (can be overridden).Implements org. |
| public void |
| action | back to summary |
|---|---|
| private String action | |
| DispatchTask | back to summary |
|---|---|
| public DispatchTask() | |
| getAction | back to summary |
|---|---|
| public String getAction() Get the action.
| |
| getActionParameterName | back to summary |
|---|---|
| public String getActionParameterName() Implements org. Get the action parameter name. | |
| setAction | back to summary |
|---|---|
| public void setAction(String action) Set the action.
| |