Class ConfigManager
java.lang.Object
co.crystaldev.alpinecore.framework.config.ConfigManager
Manages instances of
AlpineConfig
s. One is
automatically created for each AlpinePlugin
.- Since:
- 0.1.0
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConfigManager
(@NotNull AlpinePlugin plugin, @NotNull SerializerRegistry serializerRegistry) -
Method Summary
Modifier and TypeMethodDescription<T extends AlpineConfig>
Tboolean
isRegistered
(@NotNull AlpineConfig config) <T extends AlpineConfig>
booleanisRegistered
(@NotNull Class<T> clazz) void
registerConfig
(@NotNull AlpineConfig config) void
unregisterConfig
(@NotNull AlpineConfig config)
-
Field Details
-
properties
public final de.exlll.configlib.YamlConfigurationProperties properties
-
-
Constructor Details
-
ConfigManager
public ConfigManager(@NotNull @NotNull AlpinePlugin plugin, @NotNull @NotNull SerializerRegistry serializerRegistry)
-
-
Method Details
-
registerConfig
-
unregisterConfig
-
isRegistered
-
isRegistered
-
getConfig
-