public class GroovyScriptEngineService extends AbstractComponent implements ScriptEngineService
| Modifier and Type | Class and Description |
|---|---|
static class |
GroovyScriptEngineService.GroovyScript |
| Modifier and Type | Field and Description |
|---|---|
static String |
GROOVY_INDY_SETTING_NAME
The name of the Groovy compiler setting to use associated with activating
invokedynamic support. |
static String |
NAME
The name of the scripting engine/language.
|
deprecationLogger, logger, settings| Constructor and Description |
|---|
GroovyScriptEngineService(Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
compile(String scriptSource,
Map<String,String> params) |
ExecutableScript |
executable(CompiledScript compiledScript,
Map<String,Object> vars) |
String[] |
extensions() |
boolean |
sandboxed() |
SearchScript |
search(CompiledScript compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
String[] |
types() |
logDeprecatedSetting, logRemovedSetting, nodeNamepublic static final String NAME
public static final String GROOVY_INDY_SETTING_NAME
invokedynamic support.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic String[] types()
types in interface ScriptEngineServicepublic String[] extensions()
extensions in interface ScriptEngineServicepublic boolean sandboxed()
sandboxed in interface ScriptEngineServicepublic Object compile(String scriptSource, Map<String,String> params)
compile in interface ScriptEngineServicepublic ExecutableScript executable(CompiledScript compiledScript, Map<String,Object> vars)
executable in interface ScriptEngineServicepublic SearchScript search(CompiledScript compiledScript, SearchLookup lookup, @Nullable Map<String,Object> vars)
search in interface ScriptEngineServiceCopyright © 2009–2017. All rights reserved.