Managed object to act as a template for notifications (events). Each instance of the template contains a set of named arguments. These argument names can be retrieved for checking against Policies that expect to be activated by the events. When an event is created using this template the named arguments are packed into a map and sent around the system inside the event.
Operation | Return | Description |
arg: arg |
self |
adds an argument field to this event definition. Answers the receiver |
args: anArray |
self |
adds anArray of argument fields to this event template. Answers the receiver. |
create |
self |
creates and sends an event of this type with no values. Answers the receiver |
create: anArray |
self |
creates and sends an event of this type with values from anArray. Answers the receiver |
fromHash: aHash |
self |
creates and sends an event of this type with values from aHash. Answers the receiver |
packageArgs |
P2Hash |
INTERNAL OPERATION. Takes a list of objects and packages them into a hash indexed with the argument names. Answers the new hash. |
packageArgs: anArray |
P2Hash |
|