public class GroovyCompiledScript extends CompiledScript
ScriptEngine
using the eval
method without reparsing overheads.
Adapted from original by Mike Grogan and A. SundararajanConstructor and Description |
---|
GroovyCompiledScript(GroovyScriptEngineImpl engine,
Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
Object |
eval(ScriptContext context) |
ScriptEngine |
getEngine() |
eval, eval
public GroovyCompiledScript(GroovyScriptEngineImpl engine, Class<?> clazz)
public Object eval(ScriptContext context) throws ScriptException
eval
in class CompiledScript
ScriptException
public ScriptEngine getEngine()
getEngine
in class CompiledScript