Package ghidra.framework.task
Interface GTask
-
- All Known Implementing Classes:
AnalysisTask
public interface GTask
Interface for tasks to be run byGTaskManager
.- See Also:
GTaskGroup
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Returns the name of this task.void
run(UndoableDomainObject domainObject, TaskMonitor monitor)
the run method where work can be performed on the given domain object.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of this task.- Returns:
- the name of this task.
-
run
void run(UndoableDomainObject domainObject, TaskMonitor monitor) throws CancelledException
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.
-
-