-
- All Superinterfaces:
DataStorage,TcConfigSection
- All Known Implementing Classes:
FileConfig
public interface TcConfig extends TcConfigSection
Represents a root configuration section.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NotNull TcConfigOptionsgetOptions()Gets the options of this configuration.default @Nullable TcConfigSectiongetParent()Gets the section that contains this section.-
Methods inherited from interface xyz.tozymc.configuration.DataStorage
compute, computeIfAbsent, computeIfPresent, contains, contains, find, find, get, get, getBoolean, getDouble, getDoubleList, getInt, getIntegerList, getKeys, getKeys, getList, getList, getLong, getMapList, getOrDefault, getOrDefault, getString, getStringList, getValues, isBoolean, isDouble, isInt, isList, isLong, isString, merge, remove, replace, set, setIfAbsent
-
Methods inherited from interface xyz.tozymc.configuration.TcConfigSection
createChild, createChild, getChild, getFullPath, getName, getRoot, hasChild
-
-
-
-
Method Detail
-
getOptions
@NotNull @NotNull TcConfigOptions getOptions()
Gets the options of this configuration.- Returns:
- Options of this configuration.
-
getParent
@Nullable default @Nullable TcConfigSection getParent()
Description copied from interface:TcConfigSectionGets the section that contains this section.Returns
nullwhen this section is root.- Specified by:
getParentin interfaceTcConfigSection- Returns:
- The section that contains this section.
-
-