Class OpenProgramRequest

java.lang.Object
ghidra.app.util.task.OpenProgramRequest

public class OpenProgramRequest extends Object
  • Constructor Details

    • OpenProgramRequest

      public OpenProgramRequest(Program program, ghidra.app.plugin.core.progmgr.ProgramLocator locator, Object consumer)
  • Method Details

    • getProgram

      public Program getProgram()
      Get the open Program instance which corresponds to this open request.
      Returns:
      program instance or null if never opened.
    • release

      public void release()
      Release opened program. This must be done once, and only once, on a successful open request. If handing ownership off to another consumer, they should be added as a program consumer prior to invoking this method. Releasing the last consumer will close the program instance.
    • getLocator

      public ghidra.app.plugin.core.progmgr.ProgramLocator getLocator()