public class SoapUIGroovyScriptEngine extends Object implements SoapUIScriptEngine
Modifier and Type | Class and Description |
---|---|
protected class |
SoapUIGroovyScriptEngine.ScriptSaver |
Modifier and Type | Field and Description |
---|---|
protected SoapUIGroovyScriptEngine.ScriptSaver |
saver |
Constructor and Description |
---|
SoapUIGroovyScriptEngine(ClassLoader parentClassLoader) |
Modifier and Type | Method and Description |
---|---|
void |
clearVariables() |
void |
compile() |
protected groovy.lang.Binding |
getBinding() |
protected groovy.lang.GroovyClassLoader |
getClassLoader() |
protected groovy.lang.Script |
getScript() |
protected String |
getScriptText() |
protected groovy.lang.GroovyShell |
getShell() |
void |
release() |
protected void |
reset() |
Object |
run() |
void |
setScript(String scriptText) |
void |
setVariable(String name,
Object value) |
protected void |
synchronizedSetScript(String scriptText) |
protected SoapUIGroovyScriptEngine.ScriptSaver saver
public SoapUIGroovyScriptEngine(ClassLoader parentClassLoader)
public Object run() throws Exception
run
in interface SoapUIScriptEngine
Exception
protected void synchronizedSetScript(String scriptText)
public void setScript(String scriptText)
setScript
in interface SoapUIScriptEngine
protected void reset()
public void compile() throws Exception
compile
in interface SoapUIScriptEngine
Exception
public void setVariable(String name, Object value)
setVariable
in interface SoapUIScriptEngine
public void clearVariables()
clearVariables
in interface SoapUIScriptEngine
public void release()
release
in interface SoapUIScriptEngine
protected groovy.lang.Binding getBinding()
protected groovy.lang.GroovyClassLoader getClassLoader()
protected groovy.lang.Script getScript()
protected String getScriptText()
protected groovy.lang.GroovyShell getShell()
Copyright © 2019. All Rights Reserved.