|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krms.framework.engine.CompoundProposition
public final class CompoundProposition
An implementation of Proposition
which holds other Propositions and a LogicalOperator
.
Constructor Summary | |
---|---|
CompoundProposition(LogicalOperator logicalOperator,
List<Proposition> propositions)
Create a CompoundProposition with the given values |
Method Summary | |
---|---|
PropositionResult |
evaluate(ExecutionEnvironment environment)
Evaluates this proposition -- and in the case of Proposition s containing children,
those children as well -- and returns the boolean result; |
List<Proposition> |
getChildren()
Returns an unmodifiableList of Proposition s. |
boolean |
isCompound()
Indicates whether this Proposition can have children. |
void |
logPropositionResult(Proposition proposition,
PropositionResult propositionResult,
ExecutionEnvironment environment)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompoundProposition(LogicalOperator logicalOperator, List<Proposition> propositions)
logicalOperator
- LogicalOperator
to set logicalOperator topropositions
- to set the propositions toMethod Detail |
---|
public PropositionResult evaluate(ExecutionEnvironment environment)
Proposition
Proposition
s containing children,
those children as well -- and returns the boolean result;
evaluate
in interface Proposition
environment
- the ExecutionEnvironment
that this Proposition
is running in
public void logPropositionResult(Proposition proposition, PropositionResult propositionResult, ExecutionEnvironment environment)
public List<Proposition> getChildren()
Proposition
s.
getChildren
in interface Proposition
Proposition
spublic boolean isCompound()
Proposition
Proposition
can have children.
isCompound
in interface Proposition
Proposition
can contain child Proposition
s.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |