Class Help

All Implemented Interfaces:
Serializable, Comparable<AbstractCommand>

public class Help extends AbstractCommand
Outputs help for a command or for all.
Author:
FracPete (fracpete at waikato dot ac dot nz)
See Also:
  • Constructor Details

    • Help

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