Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.scheduler.BukkitTask Interface Reference

Represents a task being executed by the scheduler. More...

Public Member Functions

int getTaskId ()
 Returns the taskId for the task.
 
Plugin getOwner ()
 Returns the Plugin that owns this task.
 
boolean isSync ()
 Returns true if the Task is a sync task.
 
void cancel ()
 Will attempt to cancel this task.
 

Detailed Description

Represents a task being executed by the scheduler.

Definition at line 9 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: