public class AgendaImpl extends Object implements InternalAgenda
Constructor and Description |
---|
AgendaImpl(InternalAgenda 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. |
void |
clear() |
void |
deactivateRuleFlowGroup(String name)
Deactivates the
RuleFlowGroup with the given name. |
org.kie.api.runtime.rule.ActivationGroup |
getActivationGroup(String name) |
InternalAgenda |
getAgenda() |
org.kie.api.runtime.rule.AgendaGroup |
getAgendaGroup(String name) |
org.kie.api.runtime.rule.RuleFlowGroup |
getRuleFlowGroup(String name) |
boolean |
isRuleActiveInRuleFlowGroup(String ruleflowGroupName,
String ruleName,
long processInstanceId) |
public AgendaImpl(InternalAgenda agenda)
public void clear()
clear
in interface org.kie.api.runtime.rule.Agenda
public org.kie.api.runtime.rule.AgendaGroup getAgendaGroup(String name)
getAgendaGroup
in interface org.kie.api.runtime.rule.Agenda
public org.kie.api.runtime.rule.ActivationGroup getActivationGroup(String name)
getActivationGroup
in interface org.kie.api.runtime.rule.Agenda
public org.kie.api.runtime.rule.RuleFlowGroup getRuleFlowGroup(String name)
getRuleFlowGroup
in interface org.kie.api.runtime.rule.Agenda
public InternalAgenda getAgenda()
public void activateRuleFlowGroup(String name)
InternalAgenda
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.activateRuleFlowGroup
in interface InternalAgenda
public void activateRuleFlowGroup(String name, long processInstanceId, String nodeInstanceId)
InternalAgenda
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.activateRuleFlowGroup
in interface InternalAgenda
public void deactivateRuleFlowGroup(String name)
InternalAgenda
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 agendadeactivateRuleFlowGroup
in interface InternalAgenda
public boolean isRuleActiveInRuleFlowGroup(String ruleflowGroupName, String ruleName, long processInstanceId)
isRuleActiveInRuleFlowGroup
in interface InternalAgenda
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.