Class NetworkSettingManager

java.lang.Object
com.djrapitops.plan.settings.network.NetworkSettingManager
All Implemented Interfaces:
SubSystem

@Singleton public class NetworkSettingManager extends Object implements SubSystem
In charge of updating network-server configs.

Performs the following tasks related to network configs: - File modification watching related to server configs - Database update operations related to server configs - File update operations from database related to server configs

  • Constructor Details

    • NetworkSettingManager

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

    • 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
    • getServerUUIDFromFilename

      public static ServerUUID getServerUUIDFromFilename(File file)
    • getConfigFiles

      public File[] getConfigFiles()
    • updateConfigInDB

      public void updateConfigInDB(File file, ServerUUID serverUUID)