Package org.drools.core.common
Interface InternalAgendaGroup
-
- All Superinterfaces:
org.kie.api.runtime.rule.AgendaGroup
- All Known Subinterfaces:
InternalRuleFlowGroup
- All Known Implementing Classes:
AgendaGroupQueueImpl
public interface InternalAgendaGroup extends org.kie.api.runtime.rule.AgendaGroup
-
-
Method Summary
-
-
-
Field Detail
-
MAIN
static final String MAIN
Static reference to determine the defaultAgendaGroupname.- See Also:
- Constant Field Values
-
-
Method Detail
-
size
int size()
- Returns:
- The int total number of activations
-
isEmpty
boolean isEmpty()
- Returns:
- boolean value indicating if this AgendaGroup is empty or not
-
isActive
boolean isActive()
- Returns:
- boolean value indicating if the AgendaGroup is active and thus being evaluated.
-
setAutoFocusActivator
void setAutoFocusActivator(PropagationContext ctx)
-
getAutoFocusActivator
PropagationContext getAutoFocusActivator()
-
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()
-
visited
void visited()
-
setReteEvaluator
void setReteEvaluator(ReteEvaluator reteEvaluator)
-
hasRuleFlowListener
void hasRuleFlowListener(boolean hasRuleFlowLister)
-
isRuleFlowListener
boolean isRuleFlowListener()
-
isSequential
boolean isSequential()
-
-