java.lang.Object
io.helidon.config.ValueNodeImpl
- All Implemented Interfaces:
- MergeableNode,- ConfigNode,- ConfigNode.ValueNode
Implements 
ConfigNode.ValueNode.- 
Nested Class SummaryNested classes/interfaces inherited from interface io.helidon.config.spi.ConfigNodeConfigNode.ListNode, ConfigNode.NodeType, ConfigNode.ObjectNode, ConfigNode.ValueNode
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ValueNodeImplCreate a value node for the provided value.Description of this node.booleanget()Get the value of this value node.inthashCode()booleanhasValue()Each node may have a direct value, and in addition may be an object node or a list node.initDescription(String description) Initialize diagnostics description of source of node instance.merge(MergeableNode node) Returns new instance mergeable node of same type of original one that merges also with specified node.toString()value()Get the direct value of this config node.Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.config.spi.ConfigNode.ValueNodenodeType
- 
Constructor Details- 
ValueNodeImplInitialize node.- Parameters:
- value- node value
 
 
- 
- 
Method Details- 
valueDescription copied from interface:ConfigNodeGet the direct value of this config node. Any node type can have a direct value.- Specified by:
- valuein interface- ConfigNode
- Returns:
- a value if present, emptyotherwise
 
- 
getDescription copied from interface:ConfigNode.ValueNodeGet the value of this value node.- Specified by:
- getin interface- ConfigNode.ValueNode
- Returns:
- string with the node value
 
- 
createCreate a value node for the provided value.- Parameters:
- value- value of this node
- Returns:
- value node for the value
 
- 
mergeDescription copied from interface:MergeableNodeReturns new instance mergeable node of same type of original one that merges also with specified node.- Specified by:
- mergein interface- MergeableNode
- Parameters:
- node- node to be used to merge with
- Returns:
- new instance of mergeable node that combines original node with specified one
 
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
- 
initDescriptionInitialize diagnostics description of source of node instance.- Parameters:
- description- diagnostics description
- Returns:
- this instance
 
- 
descriptionDescription of this node.- Returns:
- description of the node.
 
- 
hasValuepublic boolean hasValue()Description copied from interface:MergeableNodeEach node may have a direct value, and in addition may be an object node or a list node. This method returns true for any node with direct value.- Specified by:
- hasValuein interface- MergeableNode
- Returns:
- true if this node contains a value
 
 
-