Uses of Interface
com.velocitypowered.api.scheduler.Scheduler.TaskBuilder
Packages that use Scheduler.TaskBuilder
Package
Description
Provides utilities for scheduling tasks with a fluent builder.
-
Uses of Scheduler.TaskBuilder in com.velocitypowered.api.scheduler
Methods in com.velocitypowered.api.scheduler that return Scheduler.TaskBuilderModifier and TypeMethodDescriptionInitializes a newScheduler.TaskBuilder
for creating a task on the proxy.Scheduler.buildTask
(@NotNull Object plugin, @NotNull Consumer<ScheduledTask> consumer) Initializes a newScheduler.TaskBuilder
for creating a task on the proxy.Scheduler.TaskBuilder.clearDelay()
Clears the delay on this task.Scheduler.TaskBuilder.clearRepeat()
Clears the repeat interval on this task.Scheduler.TaskBuilder.delay
(@org.checkerframework.common.value.qual.IntRange(from=0L) long time, @NotNull TimeUnit unit) Specifies that the task should delay its execution by the specified amount of time.default Scheduler.TaskBuilder
Specifies that the task should delay its execution by the specified amount of time.Scheduler.TaskBuilder.repeat
(@org.checkerframework.common.value.qual.IntRange(from=0L) long time, @NotNull TimeUnit unit) Specifies that the task should continue running after waiting for the specified amount, until it is cancelled.default Scheduler.TaskBuilder
Specifies that the task should continue running after waiting for the specified amount, until it is cancelled.