Uses of Interface
com.plotsquared.core.util.task.PlotSquaredTask
-
Uses of PlotSquaredTask in com.plotsquared.core.util.task
Modifier and TypeClassDescriptionstatic class
Task that does nothing and is always cancelledModifier and TypeMethodDescriptionstatic @Nullable PlotSquaredTask
TaskManager.removeTask
(int id) Remove a task from the task map and return the stored valuestatic @NonNull PlotSquaredTask
TaskManager.runTaskRepeat
(@Nullable Runnable runnable, @NonNull TaskTime taskTime) Run a repeating synchronous task.abstract PlotSquaredTask
TaskManager.taskRepeat
(@NonNull Runnable runnable, @NonNull TaskTime taskTime) Run a repeating synchronous task.abstract PlotSquaredTask
TaskManager.taskRepeatAsync
(@NonNull Runnable runnable, @NonNull TaskTime taskTime) Run a repeating asynchronous task.Modifier and TypeMethodDescriptionstatic void
TaskManager.addTask
(@NonNull PlotSquaredTask task, int id) Add a task to the task map