|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Agenda
Agenda interface for the WorkingMemory
Method Summary | |
---|---|
void |
activateRuleFlowGroup(String name)
Activates the RuleFlowGroup with the given name. |
void |
activateRuleFlowGroup(String name,
long processInstanceId,
String nodeInstanceId)
Activates the RuleFlowGroup with the given name. |
int |
agendaSize()
Iterates all the modules in the focus stack returning the total number of Activation s |
void |
clearAndCancel()
Clears all Activations from the Agenda |
void |
clearAndCancelActivationGroup(ActivationGroup activationGroup)
Clears all Activations from an Activation Group. |
void |
clearAndCancelActivationGroup(String name)
Clears all Activations from an Activation-Group. |
void |
clearAndCancelAgendaGroup(AgendaGroup agendaGroup)
Clears all Activations from an Agenda Group. |
void |
clearAndCancelAgendaGroup(String name)
Clears all Activations from an Agenda Group. |
void |
clearAndCancelAndCancel(RuleFlowGroup ruleFlowGroup)
|
void |
clearAndCancelRuleFlowGroup(String name)
|
void |
deactivateRuleFlowGroup(String name)
Deactivates the RuleFlowGroup with the given name. |
int |
focusStackSize()
Iterates all the AgendGroup |
ActivationGroup |
getActivationGroup(String name)
|
Activation[] |
getActivations()
|
AgendaGroup |
getAgendaGroup(String name)
|
AgendaGroup[] |
getAgendaGroups()
|
String |
getFocusName()
Returns the name of the agenda group that currently has the focus |
RuleFlowGroup |
getRuleFlowGroup(String name)
|
Activation[] |
getScheduledActivations()
|
AgendaGroup[] |
getStack()
|
WorkingMemory |
getWorkingMemory()
Returns the WorkignMemory for this Agenda |
void |
setFocus(String name)
Sets the Agenda's focus to the specified AgendaGroup |
Methods inherited from interface org.drools.runtime.rule.Agenda |
---|
clear |
Method Detail |
---|
WorkingMemory getWorkingMemory()
void setFocus(String name)
agendaGroup
- void activateRuleFlowGroup(String name)
RuleFlowGroup
with the given name.
All activations in the given RuleFlowGroup
are added to the agenda.
As long as the RuleFlowGroup
remains active,
its activations are automatically added to the agenda.
void activateRuleFlowGroup(String name, long processInstanceId, String nodeInstanceId)
RuleFlowGroup
with the given name.
All activations in the given RuleFlowGroup
are added to the agenda.
As long as the RuleFlowGroup
remains active,
its activations are automatically added to the agenda.
The given processInstanceId and nodeInstanceId define the process context
in which this RuleFlowGroup
is used.
void deactivateRuleFlowGroup(String name)
RuleFlowGroup
with the given name.
All activations in the given RuleFlowGroup
are removed from the agenda.
As long as the RuleFlowGroup
remains deactive,
its activations are not added to the agenda
AgendaGroup[] getAgendaGroups()
AgendaGroup[] getStack()
int focusStackSize()
AgendGroups in the focus stack returning the total number of Activation
s
- Returns:
- total number of
Activation
s on the focus stack
int agendaSize()
Activation
s
Activation[] getActivations()
Activation[] getScheduledActivations()
void clearAndCancel()
void clearAndCancelAgendaGroup(String name)
agendaGroup
- void clearAndCancelAgendaGroup(AgendaGroup agendaGroup)
agendaGroup
- void clearAndCancelActivationGroup(String name)
activationGroup
- void clearAndCancelActivationGroup(ActivationGroup activationGroup)
activationGroup
- void clearAndCancelRuleFlowGroup(String name)
void clearAndCancelAndCancel(RuleFlowGroup ruleFlowGroup)
String getFocusName()
AgendaGroup getAgendaGroup(String name)
getAgendaGroup
in interface org.drools.runtime.rule.Agenda
ActivationGroup getActivationGroup(String name)
getActivationGroup
in interface org.drools.runtime.rule.Agenda
RuleFlowGroup getRuleFlowGroup(String name)
getRuleFlowGroup
in interface org.drools.runtime.rule.Agenda
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |