Interface ScheduledTask
public interface ScheduledTask
Represents a task that is scheduled to run on the proxy.
-
Method Details
-
plugin
Returns the plugin that scheduled this task.- Returns:
- the plugin that scheduled this task
-
status
TaskStatus status()Returns the current status of this task.- Returns:
- the current status of this task
-
cancel
void cancel()Cancels this task. If the task is already running, the thread in which it is running will be interrupted. If the task is not currently running, Velocity will terminate it safely.
-