Interface ConfigurationProvider


public interface ConfigurationProvider
  • Method Details

    • register

      void register(Config config)
      Registers a config to be saved or reloaded when reloadConfigs() is called.
      Parameters:
      config - the config to register
    • configs

      Collection<Config> configs()
      Returns all registered configs.
      Returns:
      unmodifiable collection of all registered configs
    • reloadConfigs

      void reloadConfigs()
      Reloads the configuration files.