|
|||||||||||
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.Exec
Base class for Jython statement-based Python semantic components.
BlockConsequence
Constructor Summary | |
protected |
Exec()
Construct. |
Method Summary | |
void |
configure(java.lang.String text,
Declaration[] availDecls)
Configure. |
protected void |
execute()
Execute. |
protected void |
execute(org.python.core.PyDictionary locals)
Execute. |
void |
execute(Tuple tuple)
Execute. |
protected void |
setText(java.lang.String text)
Set the text to execute. |
Methods inherited from class org.drools.semantics.python.Interp |
getCode, getNode, getText, setText, setUpDictionary |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Exec()
Method Detail |
public void execute(Tuple tuple)
tuple
- Tuple containing variable bindings.protected void execute(org.python.core.PyDictionary locals)
locals
- The evaluation dictionary.protected void execute()
protected void setText(java.lang.String text)
text
- The text.public void configure(java.lang.String text, Declaration[] availDecls) throws ConfigurationException
text
- Configuration text.availDecls
- Available declarations.
ConfigurationException
- If an error occurs while
attempting to perform configuration.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |