ControlTier Inc. > Open.ControlTier
 
Font size:      

Resource

Description

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

Resource

AttributeDescriptionRequired
nameThe object name.Yes
typeThe object type name.Yes
maprefuriThe maprefUriNo
descriptionThe object description.No

Examples

Shows Resource data type used in the object-update Ant task.

	<taskdef name="object-mapref"
             classname="com.networkgps.colony.tasks.object.ObjectMaprefUri"/>

	<object-mapref depot="${context.depot}"
                       resultproperty="result"
                       comment="Updated aResource object.">
          <resource maprefUri="${maprefUri}"
                   name="aResource"
                   type="ResourceSubtype"
                   description="this is a resource object"/>
	</object-mapref>