java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.Context
Represents a process and its VMData.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute(CommandParser command, PrintStream defaultOut) New way - use CommandParser for added smarts in handling commands (file redirection etc.)voidexecute(String command, String[] arguments, PrintStream out) Old way - use command and arguments as plain strings.voidtoString(boolean shortFormat) 
- 
Field Details- 
TASK_FINDVM- See Also:
 
- 
TASK_GETCOMMANDS- See Also:
 
- 
process
- 
vmData
- 
vmAddresspublic final long vmAddress
- 
nonVMCommands
- 
commands
- 
loggerShared logger for all commands to write to
 
- 
- 
Constructor Details- 
Context
 
- 
- 
Method Details- 
getPluginClassloader
- 
refreshCommandListpublic void refreshCommandList()
- 
toString
- 
executeOld way - use command and arguments as plain strings.- Parameters:
- command-
- arguments-
- out-
 
- 
executeNew 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
 
-