public class GroovyStaticScriptEngine
extends org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<Map<String,Object>> |
COMPILE_OPTIONS |
static String |
VAR_TYPES |
contextARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME| Constructor and Description |
|---|
GroovyStaticScriptEngine() |
GroovyStaticScriptEngine(groovy.lang.GroovyClassLoader classLoader) |
GroovyStaticScriptEngine(GroovyStaticScriptEngineFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected static org.codehaus.groovy.control.CompilerConfiguration |
createStaticConfiguration() |
Object |
eval(String script,
ScriptContext ctx) |
ScriptEngineFactory |
getFactory() |
compile, compile, createBindings, eval, getClassLoader, getInterface, getInterface, invokeFunction, invokeMethod, setClassLoadereval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContextpublic static final String VAR_TYPES
public static final ThreadLocal<Map<String,Object>> COMPILE_OPTIONS
public GroovyStaticScriptEngine(GroovyStaticScriptEngineFactory factory)
public GroovyStaticScriptEngine()
public GroovyStaticScriptEngine(groovy.lang.GroovyClassLoader classLoader)
public ScriptEngineFactory getFactory()
getFactory in interface ScriptEnginegetFactory in class org.codehaus.groovy.jsr223.GroovyScriptEngineImplpublic Object eval(String script, ScriptContext ctx) throws ScriptException
eval in interface ScriptEngineeval in class org.codehaus.groovy.jsr223.GroovyScriptEngineImplScriptExceptionprotected static org.codehaus.groovy.control.CompilerConfiguration createStaticConfiguration()
Copyright © 2023 Flowable. All rights reserved.