Drools :: Core 6.0.0.Beta5

org.drools.core.spi
Interface AgendaGroup

All Superinterfaces:
org.kie.api.runtime.rule.AgendaGroup
All Known Subinterfaces:
InternalAgendaGroup, InternalRuleFlowGroup
All Known Implementing Classes:
AgendaGroupQueueImpl, RuleFlowGroupImpl

public interface AgendaGroup
extends org.kie.api.runtime.rule.AgendaGroup

The Agenda can be partitioned into groups, called AgendaGroups. Rules can be assigned to these AgendaGroups. Only rules in the focus group can fire.

See Also:
DefaultAgenda

Field Summary
static String MAIN
          Static reference to determine the default AgendaGroup name.
 
Method Summary
 org.kie.api.runtime.rule.Match[] getActivations()
           
 PropagationContext getAutoFocusActivator()
           
 boolean isActive()
           
 boolean isEmpty()
           
 void setAutoFocusActivator(PropagationContext ctx)
           
 int size()
           
 
Methods inherited from interface org.kie.api.runtime.rule.AgendaGroup
clear, getName, setFocus
 

Field Detail

MAIN

static final String MAIN
Static reference to determine the default AgendaGroup name.

See Also:
Constant Field Values
Method Detail

getActivations

org.kie.api.runtime.rule.Match[] getActivations()
Returns:
An immutable Collection of all the activations in the AgendaGroup

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()

Drools :: Core 6.0.0.Beta5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.