Class ConfigModule
java.lang.Object
nl.mtvehicles.core.infrastructure.modules.ConfigModule
Module for managing configuration files
-
Field Summary
Modifier and TypeFieldDescriptionList of all configuration files.static DefaultConfig
Default configuration file (config.yml)static MessagesConfig
messages_xx.yml configuration filesstatic SecretSettingsConfig
SuperSecretSettings configuration filestatic VehicleDataConfig
VehicleData.yml configuration filestatic VehiclesConfig
Vehicles.yml configuration file -
Constructor Summary
-
Method Summary
-
Field Details
-
configList
List of all configuration files. -
secretSettings
SuperSecretSettings configuration file -
messagesConfig
messages_xx.yml configuration files -
vehicleDataConfig
VehicleData.yml configuration file -
vehiclesConfig
Vehicles.yml configuration file -
defaultConfig
Default configuration file (config.yml)
-
-
Constructor Details
-
ConfigModule
public ConfigModule()
-
-
Method Details
-
reloadConfigs
public static void reloadConfigs()Reload all configuration files.
-