- org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
-
Inherited fields
Fields inherited from class |
Fields |
class AbstractScriptEngine |
ARGV, FILENAME, ENGINE, ENGINE_VERSION, NAME, LANGUAGE, LANGUAGE_VERSION |
-
Methods Summary
Methods
Type Params |
Return Type |
Name and description |
|
CompiledScript |
compile(String scriptSource)
|
|
CompiledScript |
compile(Reader reader)
|
|
Bindings |
createBindings()
|
|
Object |
eval(Reader reader, ScriptContext ctx)
|
|
Object |
eval(String script, ScriptContext ctx)
|
|
GroovyClassLoader |
getClassLoader()
|
|
ScriptEngineFactory |
getFactory()
|
|
T |
getInterface(Class<T> clazz)
|
|
T |
getInterface(Object thiz, Class<T> clazz)
|
|
Object |
getVariable(String name)
|
|
Object |
invoke(Object proxy, Method m, Object[] args)
|
|
Object |
invokeFunction(String name, Object args)
|
|
Object |
invokeMethod(Object thiz, String name, Object args)
|
|
Object |
invokeMethod(Object object, String name, Object args)
|
|
Object |
invokeMethod(Object object, String name, Object[] args)
|
|
Object |
invokeStaticMethod(Object object, String name, Object[] args)
|
|
GroovyClassLoader |
run()
|
|
void |
setClassLoader(GroovyClassLoader classLoader)
|
|
void |
setVariable(String name, Object value)
|
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class AbstractScriptEngine |
get, put, getContext, getBindings, eval, eval, eval, eval, setBindings, setContext, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, getFactory, eval, eval, createBindings |
-
-
Constructor Detail
-
public GroovyScriptEngineImpl()
-
Method Detail
-
public T getInterface(Class<T> clazz)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public Object getVariable(String name)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public Object invokeMethod(Object object, String name, Object args)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public Object invokeMethod(Object object, String name, Object[] args)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public Object invokeStaticMethod(Object object, String name, Object[] args)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public GroovyClassLoader run()
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public void setVariable(String name, Object value)
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.