Interface ConfigStateManager


public interface ConfigStateManager
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(Config config)
    Delete the config file and tear down the associated reload management
    <T extends Config>
    T
    initialize(T config)
    Sets up the config.
    void
    load(Config config)
     
    void
    reload(Config config)
     
    void
    save(Config config)
     
  • Method Details

    • initialize

      <T extends Config> T initialize(T config)
      Sets up the config. Loads, saves, and registers the config so it can be reloaded with ReloadableManager.reload(String) using reload group configId (or subfolder/configId if subfolder is present)
    • load

      void load(Config config)
    • reload

      void reload(Config config)
    • save

      void save(Config config)
    • delete

      void delete(Config config)
      Delete the config file and tear down the associated reload management