Package net.pl3x.map.core.configuration
Class AbstractConfig
java.lang.Object
net.pl3x.map.core.configuration.AbstractConfig
- Direct Known Subclasses:
ColorsConfig
,Config
,Lang
,PlayersLayerConfig
,SpawnLayerConfig
,WorldBorderLayerConfig
,WorldConfig
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
static @interface
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull Object
protected @Nullable Object
protected @Nullable Object
protected @Nullable Object
@NotNull org.simpleyaml.configuration.file.YamlFile
protected @Nullable Object
protected void
reload
(@NotNull Path path, @NotNull Class<? extends @NotNull AbstractConfig> clazz) protected void
save()
protected void
protected void
setComment
(@NotNull String path, @Nullable String comment)
-
Constructor Details
-
AbstractConfig
public AbstractConfig()
-
-
Method Details
-
getConfig
@NotNull public @NotNull org.simpleyaml.configuration.file.YamlFile getConfig() -
reload
protected void reload(@NotNull @NotNull Path path, @NotNull @NotNull Class<? extends @NotNull AbstractConfig> clazz) -
save
protected void save() -
getClassObject
-
getValue
-
setComment
-
get
-
get
-
addToMap
-
set
-