Class WalkInternTableCommand
java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.Command
com.ibm.j9ddr.vm29.tools.ddrinteractive.commands.WalkInternTableCommand
- All Implemented Interfaces:
ICommand
-
Nested Class Summary
Nested classes/interfaces declared in class Command
Command.CommandDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(String command, String[] args, Context context, PrintStream out) This method is used to run !Methods declared in class Command
addCommand, addSubCommand, dbgFindPatternInRange, getCommandDescriptions, getCommandNames, printDetailedHelp, recognisesModifier and TypeMethodDescriptionaddCommand(String name, String argDescription, String helpDescription) voidaddSubCommand(Command.CommandDescription command, String name, String argDescription, String helpDescription) protected longdbgFindPatternInRange(Context context, byte[] pattern, int patternAlignment, long startSearchFrom, BigInteger bytesToSearch) voidThis prints the detailed help for the command by listing all the names that this command can be invoked by and also any sub commands that have been defined.booleanrecognises(String command, Context context) Method used by the DDR Interactive engine to decide whether this command matches the command passed in by the user
-
Constructor Details
-
WalkInternTableCommand
public WalkInternTableCommand()
-
-
Method Details
-
run
public void run(String command, String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException This method is used to run !walkinterntable command.- Parameters:
command- !walkinterntableargs- Args passed by command !walkinterntable. !walkinterntable prints the usage if no arg is passed, otherwise it accepts valid integer arg. If the arg is not valid, then user is warned and usage is printed.context-out- PrintStream is used to print the messages in this class.- Throws:
DDRInteractiveCommandException- If there is any problem running the command (incorrect usage, CorruptData etc.)
-