public interface ObserverEventEvaluator
EventObserver
instances to place an event for processing/evaluation.Modifier and Type | Method and Description |
---|---|
PatternAgentInstanceContext |
getContext() |
void |
observerEvaluateFalse(boolean restartable)
Indicate that the observer turned permanently false.
|
void |
observerEvaluateTrue(MatchedEventMap matchEvent,
boolean quitted)
Indicate an event for evaluation (sub-expression the observer represents has turned true).
|
void observerEvaluateTrue(MatchedEventMap matchEvent, boolean quitted)
matchEvent
- is the matched events so farquitted
- whether the observer quit, usually "true" for most observersvoid observerEvaluateFalse(boolean restartable)
restartable
- true for whether it can restartPatternAgentInstanceContext getContext()