站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 3.0.6 API 英文版文档

Agenda - JBoss RULES 3.0.6 API 英文版文档


org.drools
Interface Agenda

All Known Subinterfaces:
InternalAgenda
All Known Implementing Classes:
DefaultAgenda, LeapsAgenda

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

WorkingMemory getWorkingMemory()

getScheduledItems

LinkedList getScheduledItems()

setFocus

boolean setFocus(AgendaGroup agendaGroup)

setFocus

void setFocus(java.lang.String name)

getFocus

AgendaGroup getFocus()

getAgendaGroup

AgendaGroup getAgendaGroup(java.lang.String name)

getAgendaGroups

AgendaGroup[] getAgendaGroups()

getStack

AgendaGroup[] getStack()

getActivationGroup

ActivationGroup getActivationGroup(java.lang.String name)

focusStackSize

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

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

Activation[] getActivations()

getScheduledActivations

Activation[] getScheduledActivations()

clearAgenda

void clearAgenda()
Clears all Activations from the Agenda


clearAgendaGroup

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.

Parameters:
agendaGroup -

clearAgendaGroup

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

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.

Parameters:
activationGroup -

clearActivationGroup

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 -