public interface ScheduledTask
TaskScheduler
.Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel this task to suppress subsequent executions.
|
int |
getId()
Gets the unique ID of this task.
|
Plugin |
getOwner()
Return the plugin which scheduled this task for execution.
|
Runnable |
getTask()
Get the actual method which will be executed by this task.
|
int getId()
Plugin getOwner()
Runnable getTask()
Runnable
behind this taskvoid cancel()
Copyright © 2012–2020 SpigotMC. All rights reserved.