Package com.djrapitops.plan
Class TaskSystem
- java.lang.Object
-
- com.djrapitops.plan.TaskSystem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TaskSystem.Task
-
Constructor Summary
Constructors Constructor Description TaskSystem(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, java.util.Set<TaskSystem.Task> tasks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disable()
Performs disable actions for the subsystemvoid
enable()
Performs enable actions for the subsystem.<T extends TaskSystem.Task>
java.util.Optional<T>getTask(java.lang.Class<T> ofType)
-
-
-
Constructor Detail
-
TaskSystem
@Inject public TaskSystem(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, java.util.Set<TaskSystem.Task> tasks)
-
-
Method Detail
-
enable
public void enable()
Description copied from interface:SubSystem
Performs enable actions for the subsystem.
-
disable
public void disable()
Description copied from interface:SubSystem
Performs disable actions for the subsystem
-
getTask
public <T extends TaskSystem.Task> java.util.Optional<T> getTask(java.lang.Class<T> ofType)
-
-