|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AgendaObserver
Use AgendaObserver
to observe changes in an Agenda
as it is used
by an RuleEngine
.
Method Summary | |
---|---|
void |
ruleInstanceInserted(Observable source,
RuleInstance instance,
RuleInstance previous)
Called when a RuleInstance is added to the Agenda of
an Engine . |
void |
ruleInstanceRetracted(Observable source,
RuleInstance instance)
Called when a RuleInstance is retracted from the Agenda
of an Engine . |
void |
ruleInstanceUpdated(Observable source,
RuleInstance instance,
RuleInstance previous)
Called when a RuleInstance is updated. |
Method Detail |
---|
void ruleInstanceInserted(Observable source, RuleInstance instance, RuleInstance previous)
RuleInstance
is added to the Agenda
of
an Engine
.
source
- The source of the notification, typically a rule engine.instance
- The RuleInstance
that has been inserted into the agenda. *previous
- The rule instance preceding the current
instance, or null
if the instance is the first one.void ruleInstanceUpdated(Observable source, RuleInstance instance, RuleInstance previous)
RuleInstance
is updated.
source
- The source of the notification, typically a rule engine.instance
- The RuleInstance
that has been updated. *previous
- The rule instance preceding the current
instance, or null
if the instance is the first one.void ruleInstanceRetracted(Observable source, RuleInstance instance)
RuleInstance
is retracted from the Agenda
of an Engine
.
source
- The source of the notification, typically a rule engine.instance
- The RuleInstance
that has been retracted.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |