Class BasicAgendaTreeEntry
java.lang.Object
org.kuali.rice.krms.framework.engine.BasicAgendaTreeEntry
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionBasicAgendaTreeEntry(Rule rule) Create a BasicAgendaTreeEntry with the givenRule.BasicAgendaTreeEntry(Rule rule, AgendaTree ifTrue, AgendaTree ifFalse) Create a BasicAgendaTreeEntry with the givenRuleand ifTrue, ifFalseAgendaTrees. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ExecutionEnvironment environment) Execute with the givenExecutionEnvironment
-
Constructor Details
-
BasicAgendaTreeEntry
Create a BasicAgendaTreeEntry with the givenRule.- Parameters:
rule-Ruleto create the BasicAgendaTreeEntry with.- Throws:
IllegalArgumentException- if the rule is null.
-
BasicAgendaTreeEntry
Create a BasicAgendaTreeEntry with the givenRuleand ifTrue, ifFalseAgendaTrees.- Parameters:
rule-Ruleto 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
Description copied from interface:AgendaTreeEntryExecute with the givenExecutionEnvironment- Specified by:
executein interfaceAgendaTreeEntry- Parameters:
environment-ExecutionEnvironmentto execute with
-