A Command line to execute groovy.
| Type | Name and description |
|---|---|
protected GroovyCodeSource |
getScriptSource(boolean isScriptFile, String script) |
String |
getText(String uriOrFilename)Get a new GroovyCodeSource for a script which may be given as a location (isScript is true) or as text (isScript is false). |
File |
huntForTheScriptFile(String input)Process the input files. |
static void |
main(String[] args) |
static File |
searchForGroovyScriptFile(String input)Hunt for the script file by calling searchForGroovyScriptFile(String). |
Get a new GroovyCodeSource for a script which may be given as a location (isScript is true) or as text (isScript is false).
isScriptFile - indicates whether the script parameter is a location or contentscript - the location or context of the scriptHunt for the script file by calling searchForGroovyScriptFile(String).