org.drools.semantics.python
Class Exec
java.lang.Object
org.drools.semantics.python.Interp
org.drools.semantics.python.Exec
- Direct Known Subclasses:
- BlockConsequence
- public class Exec
- extends Interp
Base class for Jython statement-based Python semantic components.
- Author:
- bob mcwhirter , Christiaan ten Klooster
- See Also:
BlockConsequence
Method Summary |
protected void |
execute(org.python.core.PyDictionary locals)
Execute. |
void |
execute(Tuple tuple)
Execute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Exec
protected Exec(String text,
Rule rule)
- Construct.
execute
public void execute(Tuple tuple)
throws Exception
- Execute.
- Parameters:
tuple
- Tuple containing variable bindings.
- Throws:
Exception
execute
protected void execute(org.python.core.PyDictionary locals)
throws Exception
- Execute.
- Parameters:
locals
- The evaluation dictionary.
- Throws:
Exception
Copyright © 2001-2004 The Codehaus. All Rights Reserved.