|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.semantics.java.Interp | +--org.drools.semantics.java.Expr | +--org.drools.semantics.java.ExprCondition
Java 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.java.Expr |
analyze, getExpression, getRequiredTupleMembers |
Methods inherited from class org.drools.semantics.java.Interp |
evaluate, evaluate, getText, setText, setUpNameSpace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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.availDecls
- The available declarations.
ConfigurationException
- If an error occurs while
attempting to perform configuration.
java.lang.Exception
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 |