Package docking
Class TaskScheduler
java.lang.Object
docking.TaskScheduler
- All Implemented Interfaces:
Runnable
Schedules tasks to be run in the
DialogComponentProvider
.-
Method Details
-
run
public void run() -
getCurrentThread
Get the currently running thread.- Returns:
- null if no thread is running.
-
waitForCurrentTask
public void waitForCurrentTask()Blocks until the current task completes. -
isBusy
public boolean isBusy()Returns true if this task scheduler is running a task or has a pending task.- Returns:
- true if this task scheduler is running a task or has a pending task.
-