Class Script

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AbstractCommand>

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

      • Script

        public Script()
    • Method Detail

      • getName

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

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

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