Class FindModuleByNameCommand
java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.Command
com.ibm.j9ddr.vm29.tools.ddrinteractive.commands.FindModuleByNameCommand
- All Implemented Interfaces:
ICommand
FindModuleByName command find the modules corresponding to its module name
Example:
!findmodulebyname java.base
Example output:
Searching for modules named 'java.base' in VM=13053677e00
java.base !j9module 0x00000130550C7E88
Found 1 module(s) named java.base
-
Nested Class Summary
Nested classes/interfaces declared in class com.ibm.j9ddr.tools.ddrinteractive.Command
Command.CommandDescription
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(String command, String[] args, Context context, PrintStream out) Executes the commandMethods declared in class com.ibm.j9ddr.tools.ddrinteractive.Command
addCommand, addSubCommand, dbgFindPatternInRange, getCommandDescriptions, getCommandNames, printDetailedHelp, recognises
-
Constructor Details
-
FindModuleByNameCommand
public FindModuleByNameCommand()
-
-
Method Details
-
run
public void run(String command, String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException 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:
DDRInteractiveCommandException
- If there is any problem running the command (incorrect usage, CorruptData etc.)
-