Package io.helidon.config.spi
Interface ConfigNode.ObjectNode
-
- All Superinterfaces:
ConfigNode,Map<String,ConfigNode>,Supplier<String>
- Enclosing interface:
- ConfigNode
public static interface ConfigNode.ObjectNode extends ConfigNode, Map<String,ConfigNode>
Configuration node representing a hierarchical structure parsed by a suitableConfigParserif necessary.In the map exposed by this interface, the map keys are
Strings containing the fully-qualified dotted names of the config keys and the map values are the correspondingConfigNode.ValueNodeorConfigNode.ListNodeinstances. The map never containsConfigNode.ObjectNodevalues because theConfigNode.ObjectNodeis implemented as a flat map.NOTE: Do not implement this interface yourself but rather use
builder().
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceConfigNode.ObjectNode.BuilderBuilder to buildConfigNode.ObjectNodeinstance.-
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.ObjectNode.Builderbuilder()Creates new instance ofConfigNode.ObjectNode.Builder.static ConfigNode.ObjectNodeempty()Returns empty object node.default ConfigNode.NodeTypenodeType()Get the type of this node.-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
nodeType
default ConfigNode.NodeType nodeType()
Description copied from interface:ConfigNodeGet the type of this node.- Specified by:
nodeTypein interfaceConfigNode- Returns:
- NodeType this node represents
-
empty
static ConfigNode.ObjectNode empty()
Returns empty object node.- Returns:
- empty object node.
-
builder
static ConfigNode.ObjectNode.Builder builder()
Creates new instance ofConfigNode.ObjectNode.Builder.- Returns:
- new instance of
ConfigNode.ObjectNode.Builder.
-
-