public class GroovyCompiledScript extends CompiledScript
ScriptEngine using the eval method without reparsing overheads.| Constructor and Description |
|---|
GroovyCompiledScript(GroovyScriptEngineImpl engine,
Class<?> clazz) |
| Modifier and Type | Method and Description |
|---|---|
Object |
eval(ScriptContext context) |
ScriptEngine |
getEngine() |
eval, evalpublic GroovyCompiledScript(GroovyScriptEngineImpl engine, Class<?> clazz)
public Object eval(ScriptContext context) throws ScriptException
eval in class CompiledScriptScriptExceptionpublic ScriptEngine getEngine()
getEngine in class CompiledScript