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

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

public class SubAgenda
extends Object
implements Rule

A Rule which executes it's AgendaTree given a @{link ExecutionEnvironment}.

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

Constructor Summary
SubAgenda(AgendaTree agendaTree)
          Create a SubAgenda with the given AgendaTree
 
Method Summary
 boolean evaluate(ExecutionEnvironment environment)
          Evaluate a given ExecutionEnvironment, returning true if the rules conditions pass, false if they do not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubAgenda

public SubAgenda(AgendaTree agendaTree)
Create a SubAgenda with the given AgendaTree

Parameters:
agendaTree - AgendaTree to create the SubAgenda with.
Method Detail

evaluate

public boolean evaluate(ExecutionEnvironment environment)
Description copied from interface: Rule
Evaluate a given ExecutionEnvironment, returning true if the rules conditions pass, false if they do not.

Specified by:
evaluate in interface Rule
Parameters:
environment - ExecutionEnvironment
Returns:
true if given ExecutionEnvironment the rule's conditions pass, false if they do not


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