|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.semantics.groovy.Interp
Base class for Groovy based semantic components.
Eval
,
Exec
Constructor Summary | |
protected |
Interp(java.lang.String text,
java.lang.String type)
Construct. |
Method Summary | |
protected groovy.lang.Script |
getCode()
|
protected org.codehaus.groovy.ast.ASTNode |
getNode()
|
java.lang.String |
getText()
Retrieve the text to evaluate. |
protected groovy.lang.ScriptContext |
setUpDictionary(Tuple tuple)
Configure a ScriptContext using a Tuple
for variable bindings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Interp(java.lang.String text, java.lang.String type)
Method Detail |
public java.lang.String getText()
protected groovy.lang.Script getCode()
protected org.codehaus.groovy.ast.ASTNode getNode()
protected groovy.lang.ScriptContext setUpDictionary(Tuple tuple)
ScriptContext
using a Tuple
for variable bindings.
tuple
- Tuple containing variable bindings.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |