Package com.nomagic.magicdraw.task
Class BackgroundTaskRunner
- java.lang.Object
 - 
- com.nomagic.magicdraw.task.BackgroundTaskRunner
 
 
- 
@OpenApiAll public final class BackgroundTaskRunner extends java.lang.ObjectRuns task with progress status in background.- See Also:
 RunnableWithProgress,ProgressStatus,ProgressStatusRunner
 
- 
- 
Constructor Summary
Constructors Constructor Description BackgroundTaskRunner() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidrunWithProgressStatus(RunnableWithProgress runnable, java.lang.String description, boolean allowCancel)Executes runnable with progress status in background. 
 - 
 
- 
- 
Method Detail
- 
runWithProgressStatus
public static void runWithProgressStatus(RunnableWithProgress runnable, java.lang.String description, boolean allowCancel)
Executes runnable with progress status in background. All runtime exceptions from runnable are thrown from this method.- Parameters:
 runnable- runnable actually performing the task.description- task description.allowCancel- true if cancel should be enabled.- See Also:
 RunnableWithProgress,ProgressStatus
 
 - 
 
 -