Class BasicAgendaTreeEntry

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

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

    • execute

      public void execute(org.kuali.rice.krms.api.engine.ExecutionEnvironment environment)
      Description copied from interface: AgendaTreeEntry
      Execute with the given ExecutionEnvironment
      Specified by:
      execute in interface AgendaTreeEntry
      Parameters:
      environment - ExecutionEnvironment to execute with