java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.Context
Represents a process and its VMData.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(CommandParser command, PrintStream defaultOut) New way - use CommandParser for added smarts in handling commands (file redirection etc.)void
execute
(String command, String[] arguments, PrintStream out) Old way - use command and arguments as plain strings.void
toString
(boolean shortFormat)
-
Field Details
-
TASK_FINDVM
- See Also:
-
TASK_GETCOMMANDS
- See Also:
-
process
-
vmData
-
vmAddress
public final long vmAddress -
nonVMCommands
-
commands
-
logger
Shared logger for all commands to write to
-
-
Constructor Details
-
Context
-
-
Method Details
-
getPluginClassloader
-
refreshCommandList
public void refreshCommandList() -
toString
-
execute
Old way - use command and arguments as plain strings.- Parameters:
command
-arguments
-out
-
-
execute
New way - use CommandParser for added smarts in handling commands (file redirection etc.)- Parameters:
command
-defaultOut
- - the command may be redirecting output to file, but if it isn't, the defaultOut is used to print the results. Errors are always written to defaultOut
-
getCommandNames
-