Package ghidra.framework.task
Interface GTask
public interface GTask
Interface for tasks to be run by
GTaskManager
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of this task.void
run
(DomainObject domainObject, TaskMonitor monitor) the run method where work can be performed on the given domain object.
-
Method Details
-
getName
String getName()Returns the name of this task.- Returns:
- the name of this task.
-
run
the run method where work can be performed on the given domain object.- Parameters:
domainObject
- the object to affect.monitor
- the taskMonitor to be used to cancel and report progress.- Throws:
CancelledException
- if the user cancelled the task.
-