@NonnullByDefault public interface Task extends Terminable
EMPTY| Modifier and Type | Method and Description |
|---|---|
default void |
close()
Stops the task |
int |
getBukkitId()
Gets the Bukkit ID for this task
|
int |
getTimesRan()
Gets the number of times this task has ran.
|
boolean |
stop()
Stops the task
|
bindWith, closeAndReportException, closeSilently, isClosedint getTimesRan()
boolean stop()
int getBukkitId()
default void close()
Stops the taskclose in interface AutoCloseableclose in interface TerminableCopyright © 2020. All rights reserved.