Class History

All Implemented Interfaces:
Serializable, Comparable<AbstractCommand>

public class History extends AbstractCommand
Prints all issued commands.
Author:
FracPete (fracpete at waikato dot ac dot nz)
See Also:
  • Constructor Details

    • History

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