public interface MatchedEventMap
Modifier and Type | Method and Description |
---|---|
void |
add(int tag,
Object theEvent)
Add an event to the collection identified by the given tag.
|
EventBean |
getMatchingEvent(int tag)
Returns a single event instance given the tag identifier, or null if the tag could not be located.
|
Object |
getMatchingEventAsObject(int tag)
Returns the object for the matching event, be it the event bean array or the event bean.
|
Object |
getMatchingEventAsObjectByTag(String key) |
EventBean |
getMatchingEventByTag(String resultEventAsName) |
Object[] |
getMatchingEvents()
Returns a map containing the events where the key is the event tag string and the value is the event
instance.
|
Map<String,Object> |
getMatchingEventsAsMap() |
MatchedEventMapMeta |
getMeta() |
void |
merge(MatchedEventMap other)
Merge the state of an other match event structure into this one by adding all entries
within the MatchedEventMap to this match event.
|
MatchedEventMap |
shallowCopy()
Make a shallow copy of this collection.
|
void add(int tag, Object theEvent)
tag
- is an identifier to retrieve the event fromtheEvent
- is the event object or array of event object to be addedObject[] getMatchingEvents()
EventBean getMatchingEvent(int tag)
tag
- is the identifier to look forObject getMatchingEventAsObject(int tag)
tag
- is the tag to return the object forMatchedEventMap shallowCopy()
void merge(MatchedEventMap other)
other
- is the other instance to merge in.MatchedEventMapMeta getMeta()