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

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

public class BasicAgenda
extends Object
implements Agenda

An implementation of Agenda that executes over an AgendaTree.

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

Constructor Summary
BasicAgenda(Map<String,String> qualifiers, AgendaTree agendaTree)
          Create a BasicAgenda with the given qualifiers and AgendaTree
 
Method Summary
 boolean appliesTo(ExecutionEnvironment environment)
          Return if the Agenda applies to the given environment
 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

BasicAgenda

public BasicAgenda(Map<String,String> qualifiers,
                   AgendaTree agendaTree)
Create a BasicAgenda with the given qualifiers and AgendaTree

Parameters:
qualifiers - to determine if a given ExecutionEnvironment applies.
agendaTree - AgendaTree to be executed
Method Detail

execute

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

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

appliesTo

public boolean appliesTo(ExecutionEnvironment environment)
Description copied from interface: Agenda
Return if the Agenda applies to the given environment

Specified by:
appliesTo in interface Agenda
Parameters:
environment - ExecutionEnvironment to check if the Agenda applies to.
Returns:
true, if this Agenda applies to the given ExecutionEnvironment


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