Takes the specified controller action and its related elements and performs the action. The controller task is the primary mechanism to interact with the resources within the Commander framework. The typical interactions are command execution, listing of resources, or looking up a file path to a resource.
| Attribute | Description | Required |
| antdepo_base | The ANTDEPO_BASE directory path | No. |
| module_base | The module base directory path | No |
| depots_base | The objects depot base directory path | No |
| resultproperty | The property to store the success/failure status | No. Defaults to property named result |
| outputproperty | The property to store the output of the action. | No |
| Parameters specified as nested elements | |
| | |
The Controller task can perform one of three kinds of controller actions.
Execute
If an execute action element is specified, the specified command will be executed in the specified context.
Executes the Stop command in the current context.
<controller> <execute> <context depot="${depot.name}" entityClass="${context.type}" entityName="${context.name}"/> <command name="Stop"/> </execute> </controller>