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

Agenda (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools
Interface Agenda

All Known Subinterfaces:
InternalAgenda
All Known Implementing Classes:
DefaultAgenda

public interface Agenda


Method Summary
 void activateRuleFlowGroup(String name)
          Activates the RuleFlowGroup with the given name.
 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(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(String name)
          Clears all Activations from an Agenda Group.
 void deactivateRuleFlowGroup(String name)
          Deactivates the RuleFlowGroup with the given name.
 int focusStackSize()
          Iterates all the AgendGroups in the focus stack returning the total number of Activations
 ActivationGroup getActivationGroup(String name)
           
 Activation[] getActivations()
           
 AgendaGroup getAgendaGroup(String name)
           
 AgendaGroup[] getAgendaGroups()
           
 AgendaGroup getFocus()
           
 RuleFlowGroup getRuleFlowGroup(String name)
           
 Activation[] getScheduledActivations()
           
 LinkedList getScheduledItems()
           
 AgendaGroup[] getStack()
           
 WorkingMemory getWorkingMemory()
           
 boolean setFocus(AgendaGroup agendaGroup)
           
 void setFocus(String name)
           
 

Method Detail

getWorkingMemory

WorkingMemory getWorkingMemory()

getScheduledItems

LinkedList getScheduledItems()

setFocus

boolean setFocus(AgendaGroup agendaGroup)

setFocus

void setFocus(String name)

getFocus

AgendaGroup getFocus()

getAgendaGroup

AgendaGroup getAgendaGroup(String name)

getRuleFlowGroup

RuleFlowGroup getRuleFlowGroup(String name)

activateRuleFlowGroup

void activateRuleFlowGroup(String name)
Activates the RuleFlowGroup with the given name. All activations in the given RuleFlowGroup are added to the agenda. As long as the RuleFlowGroup remains active, its activations are automatically added to the agenda.


deactivateRuleFlowGroup

void deactivateRuleFlowGroup(String name)
Deactivates the RuleFlowGroup with the given name. All activations in the given RuleFlowGroup are removed from the agenda. As long as the RuleFlowGroup remains deactive, its activations are not added to the agenda


getAgendaGroups

AgendaGroup[] getAgendaGroups()

getStack

AgendaGroup[] getStack()

getActivationGroup

ActivationGroup getActivationGroup(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(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(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 -


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.