org.drools.runtime.rule.impl
Class AgendaImpl

java.lang.Object
  extended by org.drools.runtime.rule.impl.AgendaImpl
All Implemented Interfaces:
org.drools.runtime.rule.Agenda, InternalAgenda

public class AgendaImpl
extends Object
implements InternalAgenda


Constructor Summary
AgendaImpl(InternalAgenda agenda)
           
 
Method Summary
 void activateRuleFlowGroup(String name)
          Activates the RuleFlowGroup with the given name.
 void activateRuleFlowGroup(String name, long processInstanceId, String nodeInstanceId)
          Activates the RuleFlowGroup with the given name.
 void clear()
           
 void deactivateRuleFlowGroup(String name)
          Deactivates the RuleFlowGroup with the given name.
 org.drools.runtime.rule.ActivationGroup getActivationGroup(String name)
           
 InternalAgenda getAgenda()
           
 org.drools.runtime.rule.AgendaGroup getAgendaGroup(String name)
           
 org.drools.runtime.rule.RuleFlowGroup getRuleFlowGroup(String name)
           
 boolean isRuleActiveInRuleFlowGroup(String ruleflowGroupName, String ruleName, long processInstanceId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgendaImpl

public AgendaImpl(InternalAgenda agenda)
Method Detail

clear

public void clear()
Specified by:
clear in interface org.drools.runtime.rule.Agenda

getAgendaGroup

public org.drools.runtime.rule.AgendaGroup getAgendaGroup(String name)
Specified by:
getAgendaGroup in interface org.drools.runtime.rule.Agenda

getActivationGroup

public org.drools.runtime.rule.ActivationGroup getActivationGroup(String name)
Specified by:
getActivationGroup in interface org.drools.runtime.rule.Agenda

getRuleFlowGroup

public org.drools.runtime.rule.RuleFlowGroup getRuleFlowGroup(String name)
Specified by:
getRuleFlowGroup in interface org.drools.runtime.rule.Agenda

getAgenda

public InternalAgenda getAgenda()

activateRuleFlowGroup

public void activateRuleFlowGroup(String name)
Description copied from interface: InternalAgenda
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.

Specified by:
activateRuleFlowGroup in interface InternalAgenda

activateRuleFlowGroup

public void activateRuleFlowGroup(String name,
                                  long processInstanceId,
                                  String nodeInstanceId)
Description copied from interface: InternalAgenda
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. The given processInstanceId and nodeInstanceId define the process context in which this RuleFlowGroup is used.

Specified by:
activateRuleFlowGroup in interface InternalAgenda

deactivateRuleFlowGroup

public void deactivateRuleFlowGroup(String name)
Description copied from interface: InternalAgenda
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

Specified by:
deactivateRuleFlowGroup in interface InternalAgenda

isRuleActiveInRuleFlowGroup

public boolean isRuleActiveInRuleFlowGroup(String ruleflowGroupName,
                                           String ruleName,
                                           long processInstanceId)
Specified by:
isRuleActiveInRuleFlowGroup in interface InternalAgenda


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