Interface TaskCanceller
public interface TaskCanceller
An interface for cancelling tasks
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Cancel all tasksstatic TaskCanceller
get
(org.bukkit.plugin.Plugin plugin) Get theTaskCanceller
for the given plugin
-
Method Details
-
get
Get theTaskCanceller
for the given plugin- Parameters:
plugin
- the plugin- Returns:
- the
TaskCanceller
-
cancelAll
void cancelAll()Cancel all tasks
-