Class BukkitScheduledTask
java.lang.Object
com.palmergames.bukkit.towny.scheduling.impl.BukkitScheduledTask
- All Implemented Interfaces:
ScheduledTask
-
Constructor Summary
ConstructorDescriptionBukkitScheduledTask
(org.bukkit.scheduler.BukkitTask task) BukkitScheduledTask
(org.bukkit.scheduler.BukkitTask task, boolean repeating) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
@NotNull org.bukkit.plugin.Plugin
boolean
boolean
boolean
-
Constructor Details
-
BukkitScheduledTask
public BukkitScheduledTask(org.bukkit.scheduler.BukkitTask task) -
BukkitScheduledTask
public BukkitScheduledTask(org.bukkit.scheduler.BukkitTask task, boolean repeating)
-
-
Method Details
-
cancel
public void cancel()- Specified by:
cancel
in interfaceScheduledTask
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceScheduledTask
-
getOwningPlugin
@NotNull public @NotNull org.bukkit.plugin.Plugin getOwningPlugin()- Specified by:
getOwningPlugin
in interfaceScheduledTask
-
isCurrentlyRunning
public boolean isCurrentlyRunning()- Specified by:
isCurrentlyRunning
in interfaceScheduledTask
-
isRepeatingTask
public boolean isRepeatingTask()- Specified by:
isRepeatingTask
in interfaceScheduledTask
-