|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.semantics.groovy.Interp | +--org.drools.semantics.groovy.Eval | +--org.drools.semantics.groovy.ExprCondition
Groovy expression semantics Condition
.
Field Summary |
Fields inherited from interface org.drools.spi.Condition |
EMPTY_ARRAY |
Constructor Summary | |
ExprCondition(java.lang.String expr,
Declaration[] availDecls)
Construct. |
Method Summary | |
boolean |
isAllowed(Tuple tuple)
Determine if the supplied Tuple is allowed
by this condition. |
Methods inherited from class org.drools.semantics.groovy.Eval |
analyze, evaluate, evaluate, evaluate, getRequiredTupleMembers |
Methods inherited from class org.drools.semantics.groovy.Interp |
getCode, getNode, getText, setUpDictionary |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.drools.spi.Condition |
getRequiredTupleMembers |
Constructor Detail |
public ExprCondition(java.lang.String expr, Declaration[] availDecls) throws java.lang.Exception
expr
- The expression.Method Detail |
public boolean isAllowed(Tuple tuple) throws ConditionException
Tuple
is allowed
by this condition.
isAllowed
in interface Condition
tuple
- The Tuple
to test.
true
if the Tuple
passes this condition, else false
.
ConditionException
- if an error occurs during filtering.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |