public class GroovyCompiledScript extends CompiledScript
ScriptEngine using the eval method without reparsing overheads.| Constructor | Description |
|---|---|
GroovyCompiledScript(GroovyScriptEngineImpl engine,
Class<?> clazz) |
| Modifier and Type | Method | 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