Class NetworkSettingManager
- java.lang.Object
-
- com.djrapitops.plan.settings.network.NetworkSettingManager
-
- All Implemented Interfaces:
SubSystem
@Singleton public class NetworkSettingManager extends java.lang.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 Summary
Constructors Constructor Description NetworkSettingManager(PlanFiles files, PlanConfig config, DBSystem dbSystem, ServerInfo serverInfo, net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
-
Method Summary
All Methods Static 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.java.io.File[]
getConfigFiles()
static java.util.UUID
getServerUUIDFromFilename(java.io.File file)
void
updateConfigInDB(java.io.File file, java.util.UUID serverUUID)
-
-
-
Constructor Detail
-
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 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
-
getServerUUIDFromFilename
public static java.util.UUID getServerUUIDFromFilename(java.io.File file)
-
getConfigFiles
public java.io.File[] getConfigFiles()
-
updateConfigInDB
public void updateConfigInDB(java.io.File file, java.util.UUID serverUUID)
-
-