Class BasicAgenda

java.lang.Object
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 Details

    • 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 Details

    • execute

      public void execute(org.kuali.rice.krms.api.engine.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(org.kuali.rice.krms.api.engine.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