Class RunCommand

All Implemented Interfaces:
Command

public class RunCommand extends OptionParsingCommand
Command to 'run' a groovy script or scripts.
Since:
1.0.0
Author:
Phillip Webb, Dave Syer, Andy Wilkinson
See Also:
  • Constructor Details

    • RunCommand

      public RunCommand()
  • Method Details

    • getUsageHelp

      public String getUsageHelp()
      Description copied from interface: Command
      Returns usage help for the command. This should be a simple one-line string describing basic usage. e.g. '[options] <file>'. Do not include the name of the command in this string.
      Specified by:
      getUsageHelp in interface Command
      Overrides:
      getUsageHelp in class AbstractCommand
      Returns:
      the command's usage help
    • stop

      public void stop()