|
|||||||||
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.PythonBlockConsequence
public class PythonBlockConsequence
Python block semantics Consequence
.
Constructor Summary | |
---|---|
protected |
PythonBlockConsequence(java.lang.String text,
Rule rule)
Construct. |
Method Summary | |
---|---|
void |
invoke(Tuple tuple)
Execute the consequence for the supplied matching Tuple . |
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PythonBlockConsequence(java.lang.String text, Rule rule)
Method Detail |
---|
public void invoke(Tuple tuple) throws ConsequenceException
Tuple
.
invoke
in interface Consequence
ConsequenceException
- If an error occurs while attempting to invoke the
consequence.tuple
- The matching tuple.workingMemory
- The working memory session.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |