public final class BasicAgendaTreeEntry extends Object implements AgendaTreeEntry
AgendaTreeEntry which executes its ifTrue AgendaTree if the given Rule result is true or
its ifFalse AgendaTree if the result is false.| Constructor and Description |
|---|
BasicAgendaTreeEntry(Rule rule)
Create a BasicAgendaTreeEntry with the given
Rule. |
BasicAgendaTreeEntry(Rule rule,
AgendaTree ifTrue,
AgendaTree ifFalse)
Create a BasicAgendaTreeEntry with the given
Rule and ifTrue, ifFalse AgendaTrees. |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ExecutionEnvironment environment)
Execute with the given
ExecutionEnvironment |
public BasicAgendaTreeEntry(Rule rule)
Rule.rule - Rule to create the BasicAgendaTreeEntry with.IllegalArgumentException - if the rule is null.public BasicAgendaTreeEntry(Rule rule, AgendaTree ifTrue, AgendaTree ifFalse)
Rule and ifTrue, ifFalse AgendaTrees.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.IllegalArgumentException - if the rule is null.public void execute(ExecutionEnvironment environment)
AgendaTreeEntryExecutionEnvironmentexecute in interface AgendaTreeEntryenvironment - ExecutionEnvironment to execute withCopyright © 2005–2016 The Kuali Foundation. All rights reserved.