|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.semantics.python.PythonInterp
org.drools.semantics.python.PythonCondition
Python expression semantics Condition
.
![]() |
![]() |
Constructor Summary | |
PythonCondition(java.lang.String text,
Rule rule)
Construct. |
Method Summary | |
java.util.Iterator |
declarationIterator()
PythonInterp needs a declaration iterator. |
boolean |
equals(java.lang.Object object)
|
Declaration[] |
getRequiredTupleMembers()
Retrieve the array of Declaration s required by this condition to perform its duties. |
int |
hashCode()
|
boolean |
isAllowed(Tuple tuple)
Determine if the supplied Tuple is allowed by this
condition. |
Methods inherited from class org.drools.semantics.python.PythonInterp |
getCode, getGlobals, getGlobals, getNode, getRule, getText, setUpDictionary, stripOuterIndention |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PythonCondition(java.lang.String text, Rule rule) throws java.lang.Exception
Method Detail |
public boolean isAllowed(Tuple tuple) throws ConditionException
Tuple
is allowed by this
condition.
isAllowed
in interface Condition
ConditionException
- if an error occurs during filtering.tuple
- The Tuple
to test.
true
if the Tuple
passes this
condition, else false
.public Declaration[] getRequiredTupleMembers()
Declaration
s required by this condition to perform its duties.
getRequiredTupleMembers
in interface Condition
Declarations
expected on incoming Tuples
.public int hashCode()
public boolean equals(java.lang.Object object)
public java.util.Iterator declarationIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |