org.drools.common
Interface InternalRuleFlowGroup
- All Superinterfaces:
- org.drools.runtime.rule.RuleFlowGroup
- All Known Implementing Classes:
- RuleFlowGroupImpl
public interface InternalRuleFlowGroup
- extends RuleFlowGroup
setWorkingMemory
void setWorkingMemory(InternalWorkingMemory workingMemory)
getWorkingMemory
InternalWorkingMemory getWorkingMemory()
addActivation
void addActivation(Activation activation)
removeActivation
void removeActivation(Activation activation)
clear
void clear()
- Specified by:
clear
in interface org.drools.runtime.rule.RuleFlowGroup
deactivateIfEmpty
void deactivateIfEmpty()
- Checks if this ruleflow group is active and should automatically deactivate.
If the queue is empty, it deactivates the group.
setActive
void setActive(boolean active)
- Activates or deactivates this
RuleFlowGroup
.
When activating, all activations of this RuleFlowGroup
are added
to the agenda.
As long as the RuleFlowGroup
remains active,
its activations are automatically added to the agenda.
When deactivating, all activations of this RuleFlowGroup
are removed
to the agenda.
As long as the RuleFlowGroup
remains deactive,
its activations are not added to the agenda.
isActive
boolean isActive()
addRuleFlowGroupListener
void addRuleFlowGroupListener(RuleFlowGroupListener listener)
removeRuleFlowGroupListener
void removeRuleFlowGroupListener(RuleFlowGroupListener listener)
addNodeInstance
void addNodeInstance(Long processInstanceId,
String nodeInstanceId)
removeNodeInstance
void removeNodeInstance(Long processInstanceId,
String nodeInstanceId)
getNodeInstances
Map<Long,String> getNodeInstances()
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.