@OpenApiAll
public final class BackgroundTaskRunner
extends java.lang.Object
RunnableWithProgress,
ProgressStatus,
ProgressStatusRunner| Constructor and Description |
|---|
BackgroundTaskRunner() |
| Modifier and Type | Method and Description |
|---|---|
static void |
runWithProgressStatus(RunnableWithProgress runnable,
java.lang.String description,
boolean allowCancel)
Executes runnable with progress status in background.
|
public static void runWithProgressStatus(RunnableWithProgress runnable, java.lang.String description, boolean allowCancel)
runnable - runnable actually performing the task.description - task description.allowCancel - true if cancel should be enabled.RunnableWithProgress,
ProgressStatus