Class BackgroundTaskRunner

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void runWithProgressStatus​(RunnableWithProgress runnable, java.lang.String description, boolean allowCancel)
      Executes runnable with progress status in background.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BackgroundTaskRunner

        public BackgroundTaskRunner()
    • 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