|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.semantics.python.Interp | +--org.drools.semantics.python.Eval | +--org.drools.semantics.python.ExprCondition
Python expression semantics Condition
.
Constructor Summary | |
ExprCondition()
Construct, partially. |
|
ExprCondition(java.lang.String expr)
Construct. |
Method Summary | |
boolean |
isAllowed(Tuple tuple)
Determine if the supplied Tuple is allowed
by this condition. |
java.lang.String |
toString()
Produce a debug string. |
Methods inherited from class org.drools.semantics.python.Eval |
configure, evaluate, evaluate, evaluate, getExpression, getRequiredTupleMembers, setExpression |
Methods inherited from class org.drools.semantics.python.Interp |
getCode, getNode, getText, setText, setUpDictionary |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.drools.smf.ConfigurableCondition |
configure |
Methods inherited from interface org.drools.spi.Condition |
getRequiredTupleMembers |
Constructor Detail |
public ExprCondition(java.lang.String expr)
expr
- The expression.public ExprCondition()
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.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |