Package org.apache.groovy.util
Class ScriptRunner
java.lang.Object
org.apache.groovy.util.ScriptRunner
public class ScriptRunner
extends java.lang.Object
The tool to simulate running script files via groovy command
- Since:
- 3.0.0
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Method Details- 
runScriptpublic static void runScript(java.io.File path)Run the script file specified by the file path- Parameters:
- path- the file
- Since:
- 3.0.0
 
- 
runScriptpublic static void runScript(java.lang.String cp)Run the script file specified by the classpath- Parameters:
- cp- the classpath
- Since:
- 3.0.0
 
 
-