Class Echo

All Implemented Interfaces:
Serializable, Comparable<AbstractCommand>

public class Echo extends AbstractCommand
Outputs a message.
Author:
FracPete (fracpete at waikato dot ac dot nz)
See Also:
  • Constructor Details

    • Echo

      public Echo()
  • 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