Class NetworkSettingManager
java.lang.Object
com.djrapitops.plan.settings.network.NetworkSettingManager
- All Implemented Interfaces:
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
ConstructorDescriptionNetworkSettingManager(PlanFiles files, PlanConfig config, DBSystem dbSystem, ServerInfo serverInfo, net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
disable()
Performs disable actions for the subsystemvoid
enable()
Performs enable actions for the subsystem.File[]
static ServerUUID
getServerUUIDFromFilename(File file)
void
updateConfigInDB(File file, ServerUUID serverUUID)
-
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