Package docking.widgets.search
Class SearchResults.FindJob
java.lang.Object
ghidra.util.worker.Job
docking.widgets.search.SearchResults.FindJob
- Direct Known Subclasses:
SearchResults.ActivationJob,SearchResults.SwingJob
- Enclosing class:
SearchResults
A worker
Job that allows subclasses to add follow-on jobs to be performed as long
as the work is not cancelled.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SearchResults.FindJobprotected SearchResults.FindJobprotected MonitoredRunnable -
Constructor Summary
ConstructorsConstructorDescriptionFindJob()FindJob(SearchResults.FindJob parent) FindJob(SearchResults.FindJob parent, MonitoredRunnable r) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoRun(TaskMonitor monitor) final voidrun(TaskMonitor monitor) The method that gets called by the Worker when this job is selected to be run by the Worker.thenWait(BooleanSupplier waitFor, Duration maxWaitTime) toString()Methods inherited from class ghidra.util.worker.Job
cancel, getError, hasError, isCancelled, isCompleted, setCompleted, setError, setTaskMonitor
-
Field Details
-
parent
-
nextJob
-
runnable
-
-
Constructor Details
-
FindJob
public FindJob() -
FindJob
-
FindJob
-
-
Method Details
-
run
Description copied from class:JobThe method that gets called by the Worker when this job is selected to be run by the Worker.- Specified by:
runin classJob- Parameters:
monitor- the monitor- Throws:
CancelledException- jobs may choose to throw a cancelled exception
-
doRun
- Throws:
CancelledException
-
thenRun
-
thenWait
-
thenRunSwing
-
toString
-