Font size:
Command
Description
The Command data type represents an object of a Command base type.
Command
| Attribute | Description | Required |
|---|---|---|
| name | The object name. | Yes |
| type | The object type name. | Yes |
| maprefuri | The maprefUri | Yes |
| description | The object description. | Yes |
| executionString | The command execution string value. | Yes |
| argumentString | The command argument string value. | Yes |
| module | The command module name. | Yes |
Examples
Shows Command data type used in the object-update Ant task.
<object-update depot="${context.depot}"
resultproperty="result"
comment="Updated aCommand object.">
<command maprefUri="${maprefUri}"
name="Status"
type="ApacheCommand"
description="this is an Apche module command object"
executionString="bash"
argumentString="ps auxw|grep httpd"
module="Apache"/>
</object-update>


