java.lang.Object
com.ibm.java.diagnostics.utils.commands.BaseCommand
com.ibm.jvm.dtfjview.commands.BaseJdmpviewCommand
com.ibm.jvm.dtfjview.commands.infocommands.InfoSystemCommand
- All Implemented Interfaces:
ICommand
-
Nested Class Summary
Nested classes/interfaces declared in class com.ibm.jvm.dtfjview.commands.BaseJdmpviewCommand
BaseJdmpviewCommand.ArtifactType -
Field Summary
Fields declared in class com.ibm.jvm.dtfjview.commands.BaseJdmpviewCommand
ctx, hexfmt, logger, outFields declared in class com.ibm.java.diagnostics.utils.commands.BaseCommand
COMMAND_FORMAT, config, nl, SUBCOMMAND_FORMAT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidPrint detailed help for a given commandvoidrun(String command, String[] args, IContext context, PrintStream out) Executes the commandMethods declared in class com.ibm.jvm.dtfjview.commands.BaseJdmpviewCommand
decodeThreadState, getArtifactType, handleException, initCommand, toHexString, toHexString, toHexString, toHexString, toHexStringAddr, toLong, toString, toStringMethods declared in class com.ibm.java.diagnostics.utils.commands.BaseCommand
addCommand, addSubCommand, getCommandDescriptions, getCommandNames, getConfig, recognises, setConfig
-
Constructor Details
-
InfoSystemCommand
public InfoSystemCommand()
-
-
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.)
-
doCommand
public void doCommand() -
printDetailedHelp
Description copied from class:BaseJdmpviewCommandPrint detailed help for a given command- Specified by:
printDetailedHelpin classBaseJdmpviewCommand- Parameters:
out- stream to write the output to
-