Event value object for the TestRuntime/TestPlugin system
| Type | Name and description |
|---|---|
java.util.Map<java.lang.String, java.lang.Object> |
argumentsnamed arguments for the event |
boolean |
deliveredthis flag is set after the event has been delivered |
boolean |
immediateDeliverythis flag can be set in event publishing to deliver and process the event immediately the default behaviour is to defer event handling to the next round of the event handling |
java.lang.String |
nameevent's name |
TestEvent |
parentEventthis contains the event that created this event . |
boolean |
reverseOrderDeliverythis flag reverses the normal order of event deliver to event handlers (listener) for example this is used for "after" and "afterClass" event to reverse the order of handling compared to "before" and "beforeClass" events |
TestRuntime |
runtimereference to TestRuntime instance |
boolean |
stopDeliverythis flag can be set in event handling to prevent delivery to other event handlers that follow the current handler |
| Type | Name and description |
|---|---|
T |
getArgument(java.lang.String name, java.lang.Class<T> requiredType) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
named arguments for the event
this flag is set after the event has been delivered
this flag can be set in event publishing to deliver and process the event immediately the default behaviour is to defer event handling to the next round of the event handling
event's name
this contains the event that created this event . This is null for the first event.
this flag reverses the normal order of event deliver to event handlers (listener) for example this is used for "after" and "afterClass" event to reverse the order of handling compared to "before" and "beforeClass" events
reference to TestRuntime instance
this flag can be set in event handling to prevent delivery to other event handlers that follow the current handler