org.drools
Interface Agenda

All Known Subinterfaces:
InternalAgenda
All Known Implementing Classes:
DefaultAgenda

public interface Agenda

 

Method Summary
 int agendaSize()
          Iterates all the modules in the focus stack returning the total number of Activations
 void clearActivationGroup(ActivationGroup activationGroup)
          Clears all Activations from an Xor Group.
 void clearActivationGroup(java.lang.String name)
          Clears all Activations from an Activation-Group.
 void clearAgenda()
          Clears all Activations from the Agenda
 void clearAgendaGroup(AgendaGroup agendaGroup)
          Clears all Activations from an Agenda Group.
 void clearAgendaGroup(java.lang.String name)
          Clears all Activations from an Agenda Group.
 int focusStackSize()
          Iterates all the AgendGroups in the focus stack returning the total number of Activations
 ActivationGroup getActivationGroup(java.lang.String name)
           
 Activation[] getActivations()
           
 AgendaGroup getAgendaGroup(java.lang.String name)
           
 AgendaGroup[] getAgendaGroups()
           
 AgendaGroup getFocus()
           
 Activation[] getScheduledActivations()
           
 LinkedList getScheduledItems()
           
 AgendaGroup[] getStack()
           
 WorkingMemory getWorkingMemory()
           
 boolean setFocus(AgendaGroup agendaGroup)
           
 void setFocus(java.lang.String name)
           
 

Method Detail

getWorkingMemory

public WorkingMemory getWorkingMemory()

getScheduledItems

public LinkedList getScheduledItems()

setFocus

public boolean setFocus(AgendaGroup agendaGroup)

setFocus

public void setFocus(java.lang.String name)

getFocus

public AgendaGroup getFocus()

getAgendaGroup

public AgendaGroup getAgendaGroup(java.lang.String name)

getAgendaGroups

public AgendaGroup[] getAgendaGroups()

getStack

public AgendaGroup[] getStack()

getActivationGroup

public ActivationGroup getActivationGroup(java.lang.String name)

focusStackSize

public int focusStackSize()
Iterates all the AgendGroups in the focus stack returning the total number of Activations

Returns:
total number of Activations on the focus stack

agendaSize

public int agendaSize()
Iterates all the modules in the focus stack returning the total number of Activations

Returns:
total number of activations on the focus stack

getActivations

public Activation[] getActivations()

getScheduledActivations

public Activation[] getScheduledActivations()

clearAgenda

public void clearAgenda()
Clears all Activations from the Agenda


clearAgendaGroup

public void clearAgendaGroup(java.lang.String name)
Clears all Activations from an Agenda Group. Any Activations that are also in an Xor Group are removed the the Xor Group.


clearAgendaGroup

public void clearAgendaGroup(AgendaGroup agendaGroup)
Clears all Activations from an Agenda Group. Any Activations that are also in an Xor Group are removed the the Xor Group.

Parameters:
agendaGroup -

clearActivationGroup

public void clearActivationGroup(java.lang.String name)
Clears all Activations from an Activation-Group. Any Activations that are also in an Agenda Group are removed from the Agenda Group.


clearActivationGroup

public void clearActivationGroup(ActivationGroup activationGroup)
Clears all Activations from an Xor Group. Any Activations that are also in an Agenda Group are removed from the Agenda Group.

Parameters:
activationGroup -