Interface ObserverEventEvaluator
- All Known Implementing Classes:
EvalObserverStateNode
public interface ObserverEventEvaluator
For use by
EventObserver
instances to place an event for processing/evaluation.-
Method Summary
Modifier and TypeMethodDescriptionvoid
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).
-
Method Details
-
observerEvaluateTrue
Indicate an event for evaluation (sub-expression the observer represents has turned true).- Parameters:
matchEvent
- is the matched events so farquitted
- whether the observer quit, usually "true" for most observers
-
observerEvaluateFalse
void observerEvaluateFalse(boolean restartable) Indicate that the observer turned permanently false.- Parameters:
restartable
- true for whether it can restart
-
getContext
PatternAgentInstanceContext getContext()
-