public class GroovyExecutor extends java.lang.Object implements ScriptExecutor, ScriptEvaluator
Constructor and Description |
---|
GroovyExecutor() |
Modifier and Type | Method and Description |
---|---|
static void |
clearCache() |
java.lang.Object |
evaluate(java.lang.String expression,
java.util.Map<java.lang.String,java.lang.Object> bindings) |
java.lang.Object |
execute(java.lang.String script,
java.util.Map<java.lang.String,java.lang.Object> bindings) |
protected groovy.lang.Binding |
getBinding() |
static java.lang.ClassLoader |
getClassLoader() |
java.lang.String |
getName() |
static void |
initialize() |
protected java.lang.Object |
runScript(java.lang.String script) |
void |
setName(java.lang.String name) |
public static void clearCache()
public java.lang.String getName()
getName
in interface ScriptEvaluator
getName
in interface ScriptExecutor
public void setName(java.lang.String name)
setName
in interface ScriptEvaluator
setName
in interface ScriptExecutor
protected groovy.lang.Binding getBinding()
public java.lang.Object execute(java.lang.String script, java.util.Map<java.lang.String,java.lang.Object> bindings) throws ExecutionException
execute
in interface ScriptExecutor
ExecutionException
public java.lang.Object evaluate(java.lang.String expression, java.util.Map<java.lang.String,java.lang.Object> bindings) throws ExecutionException
evaluate
in interface ScriptEvaluator
ExecutionException
protected java.lang.Object runScript(java.lang.String script) throws ExecutionException
ExecutionException
public static void initialize() throws DataAccessException, java.io.IOException, CachingException
DataAccessException
java.io.IOException
CachingException
public static java.lang.ClassLoader getClassLoader()
Copyright © 2019 CenturyLink, Inc.