Class ConfigSpec
java.lang.Object
fr.robie.machineengine.api.config.ConfigSpec
Everything a config file holds: a header, comments of sections, and the keys in the order they
are written. The file is generated from it: defaults and comments live here, not in a bundled
YAML file.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ConfigSpec.Builderbuilder()@NotNull ConfigValuesdefaults()Every key at its default, e.g.header()Comment lines at the top of a new file.keys()sectionComment(@NotNull String path) The comment above the sectionpath, written when the section is added; empty if none.
-
Method Details
-
builder
-
header
-
sectionComment
-
keys
-
defaults
Every key at its default, e.g. for headless tests.
-