protected static class RepoManager.DummyProgressRunner extends java.lang.Object implements ProgressRunner
ProgressRunner.ProgressRunnable| Constructor and Description |
|---|
DummyProgressRunner(ProgressIndicator progress) |
| Modifier and Type | Method and Description |
|---|---|
void |
runAsyncWithProgress(ProgressRunner.ProgressRunnable r)
Runs a task synchronously.
|
void |
runSyncWithoutProgress(java.lang.Runnable r)
Runs a
Runnable synchronously. |
void |
runSyncWithProgress(ProgressRunner.ProgressRunnable r)
Runs a task asynchronously.
|
public DummyProgressRunner(@NonNull
ProgressIndicator progress)
public void runAsyncWithProgress(@NonNull
ProgressRunner.ProgressRunnable r)
ProgressRunnerrunAsyncWithProgress in interface ProgressRunnerpublic void runSyncWithProgress(@NonNull
ProgressRunner.ProgressRunnable r)
ProgressRunnerrunSyncWithProgress in interface ProgressRunnerpublic void runSyncWithoutProgress(@NonNull
java.lang.Runnable r)
ProgressRunnerRunnable synchronously. Useful if e.g. it must be run on a certain thread.runSyncWithoutProgress in interface ProgressRunner