Font size:
Resource
Description
The Resource data type represents an object of a Resource base type.
Resource
| Attribute | Description | Required |
|---|---|---|
| name | The object name. | Yes |
| type | The object type name. | Yes |
| maprefuri | The maprefUri | No |
| description | The 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>


