Package io.helidon.config.spi
Interface ConfigNode.ValueNode
-
- All Superinterfaces:
ConfigNode
,Supplier<String>
- 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 Default Methods Modifier and Type Method Description static ConfigNode.ValueNode
create(String value)
Create new instance of theConfigNode.ValueNode
from specified Stringvalue
.default ConfigNode.NodeType
nodeType()
Get the type of this node.
-
-
-
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
-
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
-
-