Class MapListNode
java.lang.Object
dev.satyrn.papermc.api.configuration.v1.ConfigurationNode<List<Map<?,?>>>
dev.satyrn.papermc.api.configuration.v1.MapListNode
Represents a configuration node with a map list value.
- Since:
- 1.0.0
- Author:
- Isabel Maskrey
-
Constructor Summary
ConstructorDescriptionMapListNode
(@NotNull ConfigurationNode<?> parent, @NotNull String name) Creates a new configuration node with a Map list value. -
Method Summary
Methods inherited from class dev.satyrn.papermc.api.configuration.v1.ConfigurationNode
addChild, equals, getBasePath, getBasePath, getChildren, getComments, getComments, getConfig, getInlineComments, getInlineComments, getLogger, getName, getPath, getPath, getPlugin, getPriority, getSLF4JLogger, getValueNodeName, getValuePath, getValuePath, hasChildren, hasName, isSubNode, save, setComments, setComments, setConfigValue, setInlineComments, setInlineComments, setValue, toString, toString
-
Constructor Details
-
MapListNode
Creates a new configuration node with a Map list value.- Parameters:
parent
- The parent container.name
- The node's name.- Since:
- 1.0.0
-
-
Method Details
-
value
Returns the entire configuration node as a map list.- Specified by:
value
in classConfigurationNode<List<Map<?,
?>>> - Returns:
- The entire configuration node as a map list.
- Since:
- 1.0.0
-
defaultValue
Gets the default value of the node.Defaults to an empty, unmodifiable list.
- Specified by:
defaultValue
in classConfigurationNode<List<Map<?,
?>>> - Returns:
- The default value.
- Since:
- 1.3.0
-