Package ghidra.framework.task
Class SimpleTask
- java.lang.Object
-
- ghidra.framework.task.SimpleTask
-
-
Constructor Summary
Constructors Constructor Description SimpleTask(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
didRun()
java.lang.String
getName()
Returns the name of this task.void
run(UndoableDomainObject obj, TaskMonitor monitor)
the run method where work can be performed on the given domain object.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:GTask
Returns the name of this task.
-
run
public void run(UndoableDomainObject obj, TaskMonitor monitor) throws CancelledException
Description copied from interface:GTask
the run method where work can be performed on the given domain object.- Specified by:
run
in interfaceGTask
- Parameters:
obj
- the object to affect.monitor
- the taskMonitor to be used to cancel and report progress.- Throws:
CancelledException
- if the user cancelled the task.
-
didRun
public boolean didRun()
-
-