public abstract class PerformFixesModalTask extends java.lang.Object implements SequentialTask
Modifier | Constructor and Description |
---|---|
protected |
PerformFixesModalTask(Project project,
CommonProblemDescriptor [] descriptors) |
protected |
PerformFixesModalTask(Project project,
java.util.List<CommonProblemDescriptor[]> descriptorPacks) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
applyFix(Project project,
CommonProblemDescriptor descriptor) |
void |
doRun(ProgressIndicator indicator) |
boolean |
isDone()
Returns
true if the processing is complete, false otherwise. |
boolean |
iteration()
Asks the current task to perform one more processing iteration.
|
boolean |
iteration(ProgressIndicator indicator) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepare, stop
protected final Project myProject
protected PerformFixesModalTask(Project project, CommonProblemDescriptor [] descriptors)
protected PerformFixesModalTask(Project project, java.util.List<CommonProblemDescriptor[]> descriptorPacks)
public boolean isDone()
SequentialTask
true
if the processing is complete, false
otherwise.isDone
in interface SequentialTask
public boolean iteration()
SequentialTask
iteration
in interface SequentialTask
true
if the processing is done, false
otherwise.public void doRun(ProgressIndicator indicator)
public boolean iteration(ProgressIndicator indicator)
iteration
in interface SequentialTask
protected abstract void applyFix(Project project, CommonProblemDescriptor descriptor)