- 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.ValueNodeCreate new instance of theConfigNode.ValueNodefrom specified Stringvalue.get()Get the value of this value node.default ConfigNode.NodeTypenodeType()Get the type of this node.Methods inherited from interface io.helidon.config.spi.ConfigNode
value
-
Method Details
-
nodeType
Description copied from interface:ConfigNodeGet the type of this node.- Specified by:
nodeTypein 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.ValueNodefrom specified Stringvalue.- Parameters:
value- string value- Returns:
- new instance of the
ConfigNode.ValueNode
-