Class ConfigStoreTask
- java.lang.Object
-
- net.playeranalytics.plugin.scheduling.PluginRunnable
-
- com.djrapitops.plan.TaskSystem.Task
-
- com.djrapitops.plan.settings.upkeep.ConfigStoreTask
-
- All Implemented Interfaces:
java.lang.Runnable
@Singleton public class ConfigStoreTask extends TaskSystem.Task
Task that stores a server config in the database on boot.
-
-
Constructor Summary
Constructors Constructor Description ConfigStoreTask(PlanFiles files, PlanConfig config, ServerInfo serverInfo, DBSystem dbSystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
register(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)
void
run()
-
-
-
Constructor Detail
-
ConfigStoreTask
@Inject public ConfigStoreTask(PlanFiles files, PlanConfig config, ServerInfo serverInfo, DBSystem dbSystem)
-
-
Method Detail
-
run
public void run()
-
register
public void register(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)
- Specified by:
register
in classTaskSystem.Task
-
-