public interface Guard
Modifier and Type | Method and Description |
---|---|
void |
accept(EventGuardVisitor visitor) |
boolean |
inspect(MatchedEventMap matchEvent)
Returns true if inspection shows that the match events can pass, or false to not pass.
|
void |
startGuard()
Start the guard operation.
|
void |
stopGuard()
Called when sub-expression quits, or when the pattern stopped.
|
void startGuard()
void stopGuard()
boolean inspect(MatchedEventMap matchEvent)
matchEvent
- is the map of matching eventsvoid accept(EventGuardVisitor visitor)