org.kuali.rice.krms.framework.engine
Class BasicAgendaTreeEntry

java.lang.Object
  extended by org.kuali.rice.krms.framework.engine.BasicAgendaTreeEntry
All Implemented Interfaces:
AgendaTreeEntry

public final class BasicAgendaTreeEntry
extends Object
implements AgendaTreeEntry

A AgendaTreeEntry which executes its ifTrue AgendaTree if the given Rule result is true or its ifFalse AgendaTree if the result is false.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
BasicAgendaTreeEntry(Rule rule)
          Create a BasicAgendaTreeEntry with the given Rule.
BasicAgendaTreeEntry(Rule rule, AgendaTree ifTrue, AgendaTree ifFalse)
          Create a BasicAgendaTreeEntry with the given Rule and ifTrue, ifFalse AgendaTrees.
 
Method Summary
 void execute(ExecutionEnvironment environment)
          Execute with the given ExecutionEnvironment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicAgendaTreeEntry

public BasicAgendaTreeEntry(Rule rule)
Create a BasicAgendaTreeEntry with the given Rule.

Parameters:
rule - Rule to create the BasicAgendaTreeEntry with.
Throws:
IllegalArgumentException - if the rule is null.

BasicAgendaTreeEntry

public BasicAgendaTreeEntry(Rule rule,
                            AgendaTree ifTrue,
                            AgendaTree ifFalse)
Create a BasicAgendaTreeEntry with the given Rule and ifTrue, ifFalse AgendaTrees.

Parameters:
rule - Rule to create the BasicAgendaTreeEntry with.
ifTrue - executed if the given rule's result is true.
ifTrue - executed if the given rule's result is false.
Throws:
IllegalArgumentException - if the rule is null.
Method Detail

execute

public void execute(ExecutionEnvironment environment)
Description copied from interface: AgendaTreeEntry
Execute with the given ExecutionEnvironment

Specified by:
execute in interface AgendaTreeEntry
Parameters:
environment - ExecutionEnvironment to execute with


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.