public interface ScriptEngineService extends Closeable
Modifier and Type | Method and Description |
---|---|
Object |
compile(String script) |
ExecutableScript |
executable(Object compiledScript,
Map<String,Object> vars) |
Object |
execute(Object compiledScript,
Map<String,Object> vars) |
String[] |
extensions() |
boolean |
sandboxed() |
void |
scriptRemoved(CompiledScript script)
Handler method called when a script is removed from the Guava cache.
|
SearchScript |
search(Object compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
String[] |
types() |
Object |
unwrap(Object value) |
String[] types()
String[] extensions()
boolean sandboxed()
SearchScript search(Object compiledScript, SearchLookup lookup, @Nullable Map<String,Object> vars)
void scriptRemoved(@Nullable CompiledScript script)
Copyright © 2009–2015. All rights reserved.