Class FalseNode
java.lang.Object
dev.satyrn.papermc.api.configuration.v1.ConfigurationNode<Boolean>
dev.satyrn.papermc.api.configuration.v1.FalseNode
A boolean node which always contains a false value.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFalseNode(@NotNull ConfigurationNode<?> parent, @Nullable String name) Initializes a new Configuration node. -
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
-
FalseNode
Initializes a new Configuration node.- Parameters:
parent- The parent node.name- The node name.- Since:
- 1.0.0
-
-
Method Details
-
value
Gets the value of the node.- Specified by:
valuein classConfigurationNode<Boolean>- Returns:
- The value.
- Since:
- 1.0.0
-
defaultValue
Gets the default value of the node.- Specified by:
defaultValuein classConfigurationNode<Boolean>- Returns:
- The default value.
- Since:
- 1.3.0
-