Class ConfigManager

java.lang.Object
co.crystaldev.alpinecore.framework.config.ConfigManager

public final class ConfigManager extends Object
Manages instances of AlpineConfigs. One is automatically created for each AlpinePlugin.
Since:
0.1.0
  • Field Details

    • properties

      public final de.exlll.configlib.YamlConfigurationProperties properties
  • Constructor Details

  • Method Details

    • registerConfig

      public void registerConfig(@NotNull @NotNull AlpineConfig config)
    • unregisterConfig

      public void unregisterConfig(@NotNull @NotNull AlpineConfig config)
    • isRegistered

      public boolean isRegistered(@NotNull @NotNull AlpineConfig config)
    • isRegistered

      public <T extends AlpineConfig> boolean isRegistered(@NotNull @NotNull Class<T> clazz)
    • getConfig

      @NotNull public <T extends AlpineConfig> T getConfig(@NotNull @NotNull Class<T> clazz)