ControlTier Inc. > CTL
 
Font size:      

Controller

Description

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.

Parameters

AttributeDescriptionRequired
ctl_baseThe CTL_BASE directory pathNo.
module_baseThe module base directory pathNo
depots_baseThe objects depot base directory pathNo
resultpropertyThe property to store the success/failure statusNo. Defaults to property named result
outputpropertyThe 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.

Examples

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>