@ELocalOnly public final class MatchEvent extends ENotificationMessage implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
MatchEvent.Builder |
EMessage.MessageTypeEMessageObject.Validator| Modifier and Type | Field and Description |
|---|---|
Map<String,List<ENotificationMessage>> |
groups
The collected events for each pattern group.
|
Map<Object,Object> |
userCache
This map contains the user-defined data stored when
MatchConditions were executed. |
| Modifier and Type | Method and Description |
|---|---|
static MatchEvent.Builder |
builder()
Returns a new
MatchEvent builder instance. |
List<ENotificationMessage> |
group(String name)
Returns the notification list associated with the given
group name.
|
String |
toString()
Returns a string containing each of the groups and the
group event.
|
equals, hashCode, isApplicationMessage, isSystemMessage, key, messageTypepublic final Map<String,List<ENotificationMessage>> groups
EventPattern.ALL_EVENTS contains all matched
events. The remaining map keys (if any) are from the
user-defined EventPattern. The groups map and
the notification list values are both read-only.public final Map<Object,Object> userCache
MatchConditions were executed. This map is not
null but may be empty.public String toString()
public List<ENotificationMessage> group(String name)
null if there is not group
with the given name.name - group name.public static MatchEvent.Builder builder()
MatchEvent builder instance.MatchEvent builder instance.Copyright © 2020. All rights reserved.