ControlTier Inc. > Open.ControlTier
 
Font size:      

ListAction

Description

A controller action that lists the specified kind of resource given the context of its location.

Parameters

AttributeDescriptionRequired
typeThe type of resource to list. Can be one of: depots, types, objects, commands.Yes.

Parameters specified as nested elements

context

A context element is used to describe the location of the resource.

Examples

Lists all of the objects of type, Apache:

   <controller
       outputproperty="instances">
      <list type="objects">
	<context depot="ContentApp" entityClass="Apache"/>
      </list>
    </controller>
    <echo>${instances}</echo>