|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.semantics.python.Interp | +--org.drools.semantics.python.Eval
Base class for Jython expression-based Python semantic components.
ExprCondition
,
ExprExtractor
Constructor Summary | |
protected |
Eval(java.lang.String text,
Declaration[] availDecls)
Construct. |
Method Summary | |
protected Declaration[] |
analyze(Declaration[] availDecls)
|
protected java.lang.Object |
evaluate()
Evaluate. |
protected java.lang.Object |
evaluate(org.python.core.PyDictionary locals)
Evaluate. |
java.lang.Object |
evaluate(Tuple tuple)
Evaluate. |
Declaration[] |
getRequiredTupleMembers()
Retrieve the array of Declaration s required
by this condition to perform its duties. |
Methods inherited from class org.drools.semantics.python.Interp |
getCode, getNode, getText, setUpDictionary |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Eval(java.lang.String text, Declaration[] availDecls) throws java.lang.Exception
Method Detail |
public java.lang.Object evaluate(Tuple tuple)
tuple
- Tuple containing variable bindings.
protected java.lang.Object evaluate(org.python.core.PyDictionary locals)
locals
- The evaluation dictionary.
protected java.lang.Object evaluate()
public Declaration[] getRequiredTupleMembers()
Declaration
s required
by this condition to perform its duties.
Declarations
expected
on incoming Tuples
.protected Declaration[] analyze(Declaration[] availDecls) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |