-
- All Superinterfaces:
ConfigNode
- All Known Implementing Classes:
ValueNodeImpl
- Enclosing interface:
- ConfigNode
public static interface ConfigNode.ValueNode extends 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
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ConfigNode.ValueNode
create(String value)
Create new instance of theConfigNode.ValueNode
from specified Stringvalue
.String
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 Detail
-
nodeType
default ConfigNode.NodeType 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
static ConfigNode.ValueNode create(String value)
Create new instance of theConfigNode.ValueNode
from specified Stringvalue
.- Parameters:
value
- string value- Returns:
- new instance of the
ConfigNode.ValueNode
-
-