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
Nested ClassesModifier and TypeClassDescriptionstatic @interfacestatic @interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull Objectprotected @Nullable Objectprotected @Nullable Objectprotected @Nullable Object@NotNull org.simpleyaml.configuration.file.YamlFileprotected @Nullable Objectprotected voidreload(@NotNull Path path, @NotNull Class<? extends @NotNull AbstractConfig> clazz) protected voidsave()protected voidprotected voidsetComment(@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
-