org.drools.spi
Interface AgendaGroup

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
InternalAgendaGroup
All Known Implementing Classes:
ArrayAgendaGroup, BinaryHeapQueueAgendaGroup, SequentialAgendaGroupImpl

public interface AgendaGroup
extends java.io.Serializable

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

Author:
Mark Proctor, Bob McWhirter
See Also:
DefaultAgenda

Field Summary
static java.lang.String MAIN
          Static reference to determine the default AgendaGroup name.
 
Method Summary
 Activation[] getActivations()
           
 java.lang.String getName()
           
 boolean isActive()
           
 boolean isEmpty()
           
 int size()
          The total number of activations in this group
 

Field Detail

MAIN

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

See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
Returns:
The AgendaGroup name

getActivations

Activation[] getActivations()
Returns:
An array of all the activations in the AgendaGroup

size

int size()
The total number of activations in this group

Returns:
int value for the total number of activations

isEmpty

boolean isEmpty()

isActive

boolean isActive()