org.drools.semantics.python
Class PythonBlockConsequence
java.lang.Object
org.drools.semantics.python.PythonInterp
org.drools.semantics.python.PythonBlockConsequence
- All Implemented Interfaces:
- Serializable, Consequence, SemanticComponent
public class PythonBlockConsequence
- extends PythonInterp
- implements Consequence
Python block semantics Consequence
.
- Author:
- bob mcwhirter
- See Also:
- Serialized Form
Method Summary |
void |
invoke(Tuple tuple)
Execute the consequence for the supplied matching Tuple . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PythonBlockConsequence
protected PythonBlockConsequence(String text,
Rule rule)
- Construct.
invoke
public void invoke(Tuple tuple)
throws ConsequenceException
- Execute the consequence for the supplied matching
Tuple
.
- Specified by:
invoke
in interface Consequence
- Parameters:
tuple
- The matching tuple.workingMemory
- The working memory session.
- Throws:
ConsequenceException
- If an error occurs while attempting to invoke the
consequence.
Copyright © 2001-2005 The Codehaus. All Rights Reserved.