Class ServerSettingsManager

  • All Implemented Interfaces:
    SubSystem

    @Singleton
    public class ServerSettingsManager
    extends java.lang.Object
    implements SubSystem
    In charge of updating server-network config.

    Performs following tasks related to the config: - File modification watching related to config.yml - Database updating related to config.yml - File update operations from database related to config.yml

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void disable()
      Performs disable actions for the subsystem
      void enable()
      Performs enable actions for the subsystem.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServerSettingsManager

        @Inject
        public ServerSettingsManager​(PlanFiles files,
                                     PlanConfig config,
                                     DBSystem dbSystem,
                                     ServerInfo serverInfo,
                                     net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory,
                                     net.playeranalytics.plugin.server.PluginLogger logger,
                                     ErrorLogger errorLogger)
    • Method Detail

      • enable

        public void enable()
        Description copied from interface: SubSystem
        Performs enable actions for the subsystem.
        Specified by:
        enable in interface SubSystem
      • disable

        public void disable()
        Description copied from interface: SubSystem
        Performs disable actions for the subsystem
        Specified by:
        disable in interface SubSystem