public class ScriptRunner extends Object
Constructor and Description |
---|
ScriptRunner()
Initialize new
ScriptRunner |
Modifier and Type | Method and Description |
---|---|
<T> T |
invokeMethod(String name,
String method,
Class<T> clazz,
Object... args)
Invoke method within loaded script
|
void |
loadScript(String path,
String name)
Load a script into the script runner
|
public ScriptRunner()
ScriptRunner
public void loadScript(String path, String name) throws IOException
path
- Script path, resource path or GCS URLname
- Name to register script withIOException
- IOExceptionCopyright © 2022. All rights reserved.