public class GroovyScriptHelper extends AbstractScriptHelper
Constructor and Description |
---|
GroovyScriptHelper(Context context) |
GroovyScriptHelper(ScriptBindings bindings) |
Modifier and Type | Method and Description |
---|---|
protected Object |
doCall(Object obj,
String methodCall) |
Object |
eval(String expr)
Evaluate the given expression.
|
call, getBindings, setBindings, test
public GroovyScriptHelper(ScriptBindings bindings)
public GroovyScriptHelper(Context context)
public Object eval(String expr)
ScriptHelper
expr
- the expression to evaluateprotected Object doCall(Object obj, String methodCall)
doCall
in class AbstractScriptHelper