A Context describes a scope within the map. The scope can be described by specifying the unqiue identifier for an object - by its maprefUri - or by its entityName and entityClass.
| Attribute | Description | Required |
| maprefuri | The maprefUri specifying the object in the map. | Yes, if no name and class. |
| entityName | Name of the object in the map. | No, if maprefuri is set |
| entityClass | Type name of the object in the map. | Yes |
| direction | The direction constraint can be "internal", "external" and "both". | No, internal default |
| proximity | The proximity constraint is a numeric value that specifies number of degrees away from object in the context. highest proximity that can be specified is 3 | No, "1" default |
Shows the context in a controller task.
<controller> <execute> <context depot="${context.depot}" entityName="${context.name}" entityType="${context.type}"/> <command maprefUri="${maprefUri}" name="Status" module="Apache"/> <execute> </controller>