Class ScriptRunner

java.lang.Object
org.apache.groovy.util.ScriptRunner

public class ScriptRunner
extends Object
The tool to simulate running script files via groovy command
Since:
3.0.0
  • Method Details

    • runScript

      public static void runScript​(File path)
      Run the script file specified by the file path
      Parameters:
      path - the file
      Since:
      3.0.0
    • runScript

      public static void runScript​(String cp)
      Run the script file specified by the classpath
      Parameters:
      cp - the classpath
      Since:
      3.0.0