Package net.md_5.bungee.api.scheduler
Interface ScheduledTask
- 
 public interface ScheduledTaskRepresents a task scheduled for execution by theTaskScheduler.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel()Cancel this task to suppress subsequent executions.intgetId()Gets the unique ID of this task.PlugingetOwner()Return the plugin which scheduled this task for execution.RunnablegetTask()Get the actual method which will be executed by this task.
 
- 
- 
- 
Method Detail- 
getIdint getId() Gets the unique ID of this task.- Returns:
- this tasks ID
 
 - 
getOwnerPlugin getOwner() Return the plugin which scheduled this task for execution.- Returns:
- the owning plugin
 
 - 
getTaskRunnable getTask() Get the actual method which will be executed by this task.- Returns:
- the Runnablebehind this task
 
 - 
cancelvoid cancel() Cancel this task to suppress subsequent executions.
 
- 
 
-