public abstract class AbsNukkitRunnable
extends java.lang.Object
implements com.djrapitops.plugin.task.PluginRunnable, java.lang.Runnable
PluginRunnable
implementation for Nukkit.Modifier and Type | Method and Description |
---|---|
void |
cancel() |
int |
getTaskId() |
java.lang.String |
getTaskName() |
long |
getTime() |
com.djrapitops.plugin.task.PluginTask |
runTask() |
com.djrapitops.plugin.task.PluginTask |
runTaskAsynchronously() |
com.djrapitops.plugin.task.PluginTask |
runTaskLater(long delay) |
com.djrapitops.plugin.task.PluginTask |
runTaskLaterAsynchronously(long delay) |
com.djrapitops.plugin.task.PluginTask |
runTaskTimer(long delay,
long period) |
com.djrapitops.plugin.task.PluginTask |
runTaskTimerAsynchronously(long delay,
long period) |
public com.djrapitops.plugin.task.PluginTask runTask()
runTask
in interface com.djrapitops.plugin.task.PluginRunnable
public com.djrapitops.plugin.task.PluginTask runTaskAsynchronously()
runTaskAsynchronously
in interface com.djrapitops.plugin.task.PluginRunnable
public com.djrapitops.plugin.task.PluginTask runTaskLater(long delay)
runTaskLater
in interface com.djrapitops.plugin.task.PluginRunnable
public com.djrapitops.plugin.task.PluginTask runTaskLaterAsynchronously(long delay)
runTaskLaterAsynchronously
in interface com.djrapitops.plugin.task.PluginRunnable
public com.djrapitops.plugin.task.PluginTask runTaskTimer(long delay, long period)
runTaskTimer
in interface com.djrapitops.plugin.task.PluginRunnable
public com.djrapitops.plugin.task.PluginTask runTaskTimerAsynchronously(long delay, long period)
runTaskTimerAsynchronously
in interface com.djrapitops.plugin.task.PluginRunnable
public void cancel()
cancel
in interface com.djrapitops.plugin.task.PluginRunnable
public int getTaskId()
getTaskId
in interface com.djrapitops.plugin.task.PluginRunnable
public java.lang.String getTaskName()
getTaskName
in interface com.djrapitops.plugin.task.PluginRunnable
public long getTime()
getTime
in interface com.djrapitops.plugin.task.PluginRunnable