- All Superinterfaces:
ConfigNode
- All Known Implementing Classes:
ValueNodeImpl
- Enclosing interface:
- ConfigNode
Single string-based configuration value.
NOTE: Do not implement this interface yourself but rather use create(String)
.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.config.spi.ConfigNode
ConfigNode.ListNode, ConfigNode.NodeType, ConfigNode.ObjectNode, ConfigNode.ValueNode
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigNode.ValueNode
Create new instance of theConfigNode.ValueNode
from specified Stringvalue
.get()
Get the value of this value node.default ConfigNode.NodeType
nodeType()
Get the type of this node.Methods inherited from interface io.helidon.config.spi.ConfigNode
value
-
Method Details
-
nodeType
Description copied from interface:ConfigNode
Get the type of this node.- Specified by:
nodeType
in interfaceConfigNode
- Returns:
- NodeType this node represents
-
get
String get()Get the value of this value node.- Returns:
- string with the node value
-
create
Create new instance of theConfigNode.ValueNode
from specified Stringvalue
.- Parameters:
value
- string value- Returns:
- new instance of the
ConfigNode.ValueNode
-