Package ghidra.app.util.task
Class OpenProgramRequest
java.lang.Object
ghidra.app.util.task.OpenProgramRequest
-
Constructor Summary
ConstructorDescriptionOpenProgramRequest
(Program program, ghidra.app.plugin.core.progmgr.ProgramLocator locator, Object consumer) -
Method Summary
Modifier and TypeMethodDescriptionghidra.app.plugin.core.progmgr.ProgramLocator
Get the open Program instance which corresponds to this open request.void
release()
Release opened program.
-
Constructor Details
-
OpenProgramRequest
-
-
Method Details
-
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()
-