Class SpigotRunnableAgent
java.lang.Object
me.hsgamer.topper.spigot.agent.runnable.SpigotRunnableAgent
- All Implemented Interfaces:
me.hsgamer.topper.agent.core.Agent
-
Constructor Summary
ConstructorsConstructorDescriptionSpigotRunnableAgent(Runnable runnable, io.github.projectunified.minelib.scheduler.common.scheduler.Scheduler scheduler, long interval) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.hsgamer.topper.agent.core.Agent
beforeStop
-
Constructor Details
-
SpigotRunnableAgent
public SpigotRunnableAgent(Runnable runnable, io.github.projectunified.minelib.scheduler.common.scheduler.Scheduler scheduler, long interval)
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceme.hsgamer.topper.agent.core.Agent
-
stop
public void stop()- Specified by:
stopin interfaceme.hsgamer.topper.agent.core.Agent
-