java.lang.Object
com.ibm.java.diagnostics.utils.commands.BaseCommand
com.ibm.java.diagnostics.utils.commands.QuitCommand
- All Implemented Interfaces:
ICommand
Command to quit out of the interactive command parser
-
Field Summary
Fields declared in class com.ibm.java.diagnostics.utils.commands.BaseCommand
COMMAND_FORMAT, config, nl, SUBCOMMAND_FORMAT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(String command, String[] args, IContext context, PrintStream out) Executes the commandMethods declared in class com.ibm.java.diagnostics.utils.commands.BaseCommand
addCommand, addSubCommand, getCommandDescriptions, getCommandNames, getConfig, recognises, setConfig
-
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:ICommandExecutes the command- Parameters:
command- Command string e.g. !j9xargs- Arguments for commandcontext- Context to work inout- PrintStream to write command output on- Throws:
CommandException- If there is any problem running the command (incorrect usage, CorruptData etc.)
-