Class Script

All Implemented Interfaces:
Serializable, Comparable<AbstractCommand>

public class Script extends AbstractCommand
Executes commands from a script file.
Author:
FracPete (fracpete at waikato dot ac dot nz)
See Also:
  • Constructor Details

    • Script

      public Script()
  • Method Details

    • getName

      public String getName()
      Returns the name of the command.
      Specified by:
      getName in class AbstractCommand
      Returns:
      the name
    • getHelp

      public String getHelp()
      Returns the help string (no indentation).
      Specified by:
      getHelp in class AbstractCommand
      Returns:
      the help
    • getParameterHelp

      public String getParameterHelp()
      Returns the one-liner help string for the parameters.
      Specified by:
      getParameterHelp in class AbstractCommand
      Returns:
      the help, empty if none available