public interface Agenda
extends org.kie.api.runtime.rule.Agenda
Modifier and Type | Method and Description |
---|---|
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
|
int |
unstageActivations() |
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 agendaAgendaGroup[] getAgendaGroups()
AgendaGroup[] getStack()
int unstageActivations()
int focusStackSize()
AgendGroups in the focus stack returning the total number of Activation
s
Activation
s on the focus stackint agendaSize()
Activation
sActivation[] 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.kie.api.runtime.rule.Agenda
ActivationGroup getActivationGroup(String name)
getActivationGroup
in interface org.kie.api.runtime.rule.Agenda
RuleFlowGroup getRuleFlowGroup(String name)
getRuleFlowGroup
in interface org.kie.api.runtime.rule.Agenda
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.