public abstract class DumbModeTask extends java.lang.Object implements Disposable
DumbService.queueTask(DumbModeTask)
.Disposable.Parent
Constructor and Description |
---|
DumbModeTask() |
DumbModeTask(java.lang.Object equivalenceObject) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
java.lang.Object |
getEquivalenceObject() |
abstract void |
performInDumbMode(ProgressIndicator indicator) |
public DumbModeTask()
public DumbModeTask(java.lang.Object equivalenceObject)
equivalenceObject
- see getEquivalenceObject()
public final java.lang.Object getEquivalenceObject()
Object.equals(Object)
determines task equivalence. If several equivalent tasks are queued
for dumb mode execution at once, only one of them will be executed. By default the task object itself is returned.public abstract void performInDumbMode(ProgressIndicator indicator)
public void dispose()
Disposable
dispose
in interface Disposable