Class Context
java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.Context
Represents a process and its VMData.
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
 - 
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
 
 -