Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.scheduler.BukkitTask Interface Reference

Public Member Functions

int getTaskId ()
 
Plugin getOwner ()
 
boolean isSync ()
 
void cancel ()
 

Detailed Description

Represents a task being executed by the scheduler

Definition at line 8 of file BukkitTask.java.

Member Function Documentation

void org.bukkit.scheduler.BukkitTask.cancel ( )

Will attempt to cancel this task.

Plugin org.bukkit.scheduler.BukkitTask.getOwner ( )

Returns the Plugin that owns this task.

Returns
The Plugin that owns the task
int org.bukkit.scheduler.BukkitTask.getTaskId ( )

Returns the taskId for the task.

Returns
Task id number
boolean org.bukkit.scheduler.BukkitTask.isSync ( )

Returns true if the Task is a sync task.

Returns
true if the task is run by main thread

The documentation for this interface was generated from the following file: