Package ghidra.framework.task
Class GTaskListenerAdapter
java.lang.Object
ghidra.framework.task.GTaskListenerAdapter
- All Implemented Interfaces:
GTaskListener
A Dummy implementation to that listeners can subclass this and not have to fill in methods they
don't need.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when a task listener is added so that the listener can get all the initial state of the taskManger while the taskManager is in a locked state where nothing will change.voidsuspendedStateChanged(boolean suspended) Notification that the GTaskManager has been suspended or resumed.voidtaskCompleted(GScheduledTask task, GTaskResult result) Notification that a task is no longer running regardless of whether it completed normally, was cancelled, or threw an unhandled exception.voidtaskGroupCompleted(GTaskGroup taskGroup) Notification that the GTaskGroup has completed running.voidtaskGroupScheduled(GTaskGroup group) Notification that a GTaskGroup has been scheduled.voidtaskGroupStarted(GTaskGroup taskGroup) Notification that a new GTaskGroup has started to run.voidtaskScheduled(GScheduledTask scheduledTask) Notification that a new GTask has been scheduled to run.voidtaskStarted(GScheduledTask task) Notification that a task is starting to run
-
Constructor Details
-
GTaskListenerAdapter
public GTaskListenerAdapter()
-
-
Method Details
-
taskCompleted
Description copied from interface:GTaskListenerNotification that a task is no longer running regardless of whether it completed normally, was cancelled, or threw an unhandled exception.- Specified by:
taskCompletedin interfaceGTaskListener- Parameters:
task- the ScheduledTask that was running.result- the result state for the task.
-
taskGroupScheduled
Description copied from interface:GTaskListenerNotification that a GTaskGroup has been scheduled.- Specified by:
taskGroupScheduledin interfaceGTaskListener- Parameters:
group- the GTaskGroup that has been scheduled to run.
-
taskScheduled
Description copied from interface:GTaskListenerNotification that a new GTask has been scheduled to run.- Specified by:
taskScheduledin interfaceGTaskListener- Parameters:
scheduledTask- the GScheduledTask that wraps the GTask with scheduling information.
-
taskGroupStarted
Description copied from interface:GTaskListenerNotification that a new GTaskGroup has started to run.- Specified by:
taskGroupStartedin interfaceGTaskListener- Parameters:
taskGroup- the new GTaskGroup that is running.
-
taskStarted
Description copied from interface:GTaskListenerNotification that a task is starting to run- Specified by:
taskStartedin interfaceGTaskListener- Parameters:
task- the GTask that is starting to run
-
initialize
public void initialize()Description copied from interface:GTaskListenerCalled when a task listener is added so that the listener can get all the initial state of the taskManger while the taskManager is in a locked state where nothing will change.- Specified by:
initializein interfaceGTaskListener
-
taskGroupCompleted
Description copied from interface:GTaskListenerNotification that the GTaskGroup has completed running.- Specified by:
taskGroupCompletedin interfaceGTaskListener- Parameters:
taskGroup- the GTaskGroup that has completed running.
-
suspendedStateChanged
public void suspendedStateChanged(boolean suspended) Description copied from interface:GTaskListenerNotification that the GTaskManager has been suspended or resumed.- Specified by:
suspendedStateChangedin interfaceGTaskListener- Parameters:
suspended- true if the GTaskManger has been suspended, or false if it has been resumed.
-