- All Known Subinterfaces:
Knowledge,org.evrete.api.Listeners,RuleSession<S>,RuleSetContext<C,,R> RuntimeContext<C>,StatefulSession,StatelessSession
- All Known Implementing Classes:
AbstractSessionWrapper,KnowledgeWrapper
public interface EvaluationListeners
Interface for managing
EvaluationListener instances.
Allows adding and removing listeners to handle evaluation events.-
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(EvaluationListener listener) Adds a listener to be notified of evaluation events.voidremoveListener(EvaluationListener listener) Removes a previously added listener.
-
Method Details
-
addListener
Adds a listener to be notified of evaluation events. If the listener is already added, behavior depends on the implementation.- Parameters:
listener- the listener to add, notnull.
-
removeListener
Removes a previously added listener. If the listener is not registered, this method has no effect.- Parameters:
listener- the listener to remove, notnull.
-