java.lang.Object
com.ibm.java.diagnostics.utils.commands.BaseCommand
com.ibm.jvm.dtfjview.commands.BaseJdmpviewCommand
com.ibm.jvm.dtfjview.commands.infocommands.InfoLockCommand
- 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, out
Fields declared in class com.ibm.java.diagnostics.utils.commands.BaseCommand
COMMAND_FORMAT, config, nl, SUBCOMMAND_FORMAT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Print detailed help for a given commandvoid
run
(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, toString
Methods declared in class com.ibm.java.diagnostics.utils.commands.BaseCommand
addCommand, addSubCommand, getCommandDescriptions, getCommandNames, getConfig, recognises, setConfig
-
Constructor Details
-
InfoLockCommand
public InfoLockCommand()
-
-
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. !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.)
-
printDetailedHelp
Description copied from class:BaseJdmpviewCommand
Print detailed help for a given command- Specified by:
printDetailedHelp
in classBaseJdmpviewCommand
- Parameters:
out
- stream to write the output to
-