public class NukkitRunnableFactory
extends com.djrapitops.plugin.task.RunnableFactory
RunnableFactory
implementation for Nukkit.Constructor and Description |
---|
NukkitRunnableFactory(NukkitPlugin plugin)
Create a new NukkitRunnableFactory.
|
Modifier and Type | Method and Description |
---|---|
void |
cancelAllKnownTasks() |
protected com.djrapitops.plugin.task.PluginRunnable |
createNewRunnable(java.lang.String name,
com.djrapitops.plugin.task.AbsRunnable runnable,
long time) |
public NukkitRunnableFactory(NukkitPlugin plugin)
plugin
- NukkitPlugin this factory is for.protected com.djrapitops.plugin.task.PluginRunnable createNewRunnable(java.lang.String name, com.djrapitops.plugin.task.AbsRunnable runnable, long time)
createNewRunnable
in class com.djrapitops.plugin.task.RunnableFactory
public void cancelAllKnownTasks()
cancelAllKnownTasks
in class com.djrapitops.plugin.task.RunnableFactory