Package io.helidon.config.spi
Interface ConfigNode.ObjectNode.Builder
-
- Enclosing interface:
- ConfigNode.ObjectNode
public static interface ConfigNode.ObjectNode.Builder
Builder to buildConfigNode.ObjectNode
instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ConfigNode.ObjectNode.Builder
addList(String key, ConfigNode.ListNode list)
Sets List node associated with specifiedkey
.ConfigNode.ObjectNode.Builder
addObject(String key, ConfigNode.ObjectNode object)
Sets Object node associated with specifiedkey
.ConfigNode.ObjectNode.Builder
addValue(String key, ConfigNode.ValueNode value)
Sets String value associated with specifiedkey
.default ConfigNode.ObjectNode.Builder
addValue(String key, String value)
Sets String value associated with specifiedkey
.ConfigNode.ObjectNode
build()
Build new instance ofConfigNode.ObjectNode
.ConfigNode.ObjectNode.Builder
value(String value)
Sets the node value associated with the current node.
-
-
-
Method Detail
-
addValue
default ConfigNode.ObjectNode.Builder addValue(String key, String value)
Sets String value associated with specifiedkey
.- Parameters:
key
- member keyvalue
- string value- Returns:
- modified builder
-
addValue
ConfigNode.ObjectNode.Builder addValue(String key, ConfigNode.ValueNode value)
Sets String value associated with specifiedkey
.- Parameters:
key
- member keyvalue
- string value- Returns:
- modified builder
-
addObject
ConfigNode.ObjectNode.Builder addObject(String key, ConfigNode.ObjectNode object)
Sets Object node associated with specifiedkey
.- Parameters:
key
- member keyobject
- object node- Returns:
- modified builder
-
addList
ConfigNode.ObjectNode.Builder addList(String key, ConfigNode.ListNode list)
Sets List node associated with specifiedkey
.- Parameters:
key
- member keylist
- list node- Returns:
- modified builder
-
value
ConfigNode.ObjectNode.Builder value(String value)
Sets the node value associated with the current node.- Parameters:
value
- value to be assigned- Returns:
- modified builder
-
build
ConfigNode.ObjectNode build()
Build new instance ofConfigNode.ObjectNode
.- Returns:
- new instance of
ConfigNode.ObjectNode
.
-
-