public class JRubyScriptInvocationHandler extends Object implements de.gmorling.scriptabledataset.handlers.ScriptInvocationHandler
ScriptInvocationHandler for JRuby scripts. It adds some commonly used imports to the begin of each
script and converts Objects returned by the scripting engine into types processable by DBUnit.| Constructor and Description |
|---|
JRubyScriptInvocationHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLanguageName() |
Object |
postInvoke(Object object) |
String |
preInvoke(String script) |
void |
setScriptEngine(ScriptEngine engine) |
public String getLanguageName()
getLanguageName in interface de.gmorling.scriptabledataset.handlers.ScriptInvocationHandlerpublic String preInvoke(String script)
preInvoke in interface de.gmorling.scriptabledataset.handlers.ScriptInvocationHandlerpublic Object postInvoke(Object object)
postInvoke in interface de.gmorling.scriptabledataset.handlers.ScriptInvocationHandlerpublic void setScriptEngine(ScriptEngine engine)
setScriptEngine in interface de.gmorling.scriptabledataset.handlers.ScriptInvocationHandlerCopyright © 2011–2020 hazendaz. All rights reserved.