Module openj9.dtfj

Class Context

java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.Context

public class Context extends Object
Represents a process and its VMData.
  • Field Details

  • Constructor Details

  • Method Details

    • getPluginClassloader

      public DDRInteractiveClassLoader getPluginClassloader()
    • refreshCommandList

      public void refreshCommandList()
    • toString

      public String toString(boolean shortFormat)
    • execute

      public void execute(String command, String[] arguments, PrintStream out)
      Old way - use command and arguments as plain strings.
      Parameters:
      command -
      arguments -
      out -
    • execute

      public void execute(CommandParser command, PrintStream defaultOut)
      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

      public Vector<String> getCommandNames()