public class GroovyExecute extends APrintGroovyShell implements IExecute
MAIN_RETURN_NAME
Constructor and Description |
---|
GroovyExecute(java.io.File scriptFile)
constructor
|
GroovyExecute(java.lang.String scriptContent)
constructor with script content
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
execute(java.util.Map<java.lang.String,java.lang.Object> variables,
IConsoleLog console)
Execute a script
|
evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, generateScriptName, getClassLoader, getContext, getProperty, getVariable, initializeBinding, main, parse, parse, parse, parse, parse, parse, parse, parse, resetLoadedClasses, run, run, run, run, run, run, setProperty, setVariable
public GroovyExecute(java.io.File scriptFile)
scriptFile
- public GroovyExecute(java.lang.String scriptContent)
scriptContent
- public java.util.Map<java.lang.String,java.lang.Object> execute(java.util.Map<java.lang.String,java.lang.Object> variables, IConsoleLog console) throws java.lang.Exception
IExecute