Module openj9.dtfj

Class QuitCommand

java.lang.Object
com.ibm.java.diagnostics.utils.commands.BaseCommand
com.ibm.java.diagnostics.utils.commands.QuitCommand
All Implemented Interfaces:
ICommand

public class QuitCommand extends BaseCommand
Command to quit out of the interactive command parser
  • Constructor Details

    • QuitCommand

      public QuitCommand()
  • Method Details

    • run

      public void run(String command, String[] args, IContext context, PrintStream out) throws CommandException
      Description copied from interface: ICommand
      Executes the command
      Parameters:
      command - Command string e.g. !j9x
      args - Arguments for command
      context - Context to work in
      out - PrintStream to write command output on
      Throws:
      CommandException - If there is any problem running the command (incorrect usage, CorruptData etc.)