Package org.drools.core.common
Interface InternalAgendaGroup
-
- All Superinterfaces:
AgendaGroup
,org.kie.api.runtime.rule.AgendaGroup
- All Known Subinterfaces:
InternalRuleFlowGroup
- All Known Implementing Classes:
AgendaGroupQueueImpl
,RuleFlowGroupImpl
public interface InternalAgendaGroup extends AgendaGroup
-
-
Field Summary
-
Fields inherited from interface org.drools.core.spi.AgendaGroup
MAIN
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(Activation activation)
void
addNodeInstance(Object processInstanceId, String nodeInstanceId)
long
getActivatedForRecency()
Activation[]
getActivations()
Activation[]
getAndClear()
long
getClearedForRecency()
Map<Object,String>
getNodeInstances()
InternalWorkingMemory
getWorkingMemory()
void
hasRuleFlowListener(boolean hasRuleFlowLister)
boolean
isAutoDeactivate()
boolean
isRuleFlowListener()
boolean
isSequential()
Activation
peek()
Activation
remove()
void
remove(Activation activation)
void
removeNodeInstance(Object processInstanceId, String nodeInstanceId)
void
reset()
void
setActivatedForRecency(long recency)
void
setActive(boolean activate)
void
setAutoDeactivate(boolean autoDeactivate)
Sets the auto-deactivate status of this RuleFlowGroup.void
setClearedForRecency(long recency)
void
setWorkingMemory(InternalWorkingMemory workingMemory)
void
visited()
-
Methods inherited from interface org.drools.core.spi.AgendaGroup
getAutoFocusActivator, isActive, isEmpty, setAutoFocusActivator, size
-
-
-
-
Method Detail
-
setAutoDeactivate
void setAutoDeactivate(boolean autoDeactivate)
Sets the auto-deactivate status of this RuleFlowGroup. If this is set to true, an active RuleFlowGroup automatically deactivates if it has no more activations. If it had no activations when it was activated, it will be deactivated immediately.
-
isAutoDeactivate
boolean isAutoDeactivate()
-
reset
void reset()
-
add
void add(Activation activation)
-
peek
Activation peek()
-
remove
Activation remove()
-
remove
void remove(Activation activation)
-
setActive
void setActive(boolean activate)
-
getAndClear
Activation[] getAndClear()
-
setActivatedForRecency
void setActivatedForRecency(long recency)
-
getActivatedForRecency
long getActivatedForRecency()
-
setClearedForRecency
void setClearedForRecency(long recency)
-
getClearedForRecency
long getClearedForRecency()
-
getActivations
Activation[] getActivations()
- Specified by:
getActivations
in interfaceAgendaGroup
- Returns:
- An immutable Collection of all the activations in the AgendaGroup
-
visited
void visited()
-
setWorkingMemory
void setWorkingMemory(InternalWorkingMemory workingMemory)
-
getWorkingMemory
InternalWorkingMemory getWorkingMemory()
-
hasRuleFlowListener
void hasRuleFlowListener(boolean hasRuleFlowLister)
-
isRuleFlowListener
boolean isRuleFlowListener()
-
isSequential
boolean isSequential()
-
-