ControlTier Inc. > Open.ControlTier
 
Font size:      

Command

Description

The Command data type represents an object of a Command base type.

Command

AttributeDescriptionRequired
nameThe object name.Yes
typeThe object type name.Yes
maprefuriThe maprefUriYes
descriptionThe object description.Yes
executionStringThe command execution string value.Yes
argumentStringThe command argument string value.Yes
moduleThe 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>