- All Superinterfaces:
Builder<ConfigNode.ListNode.Builder,
,ConfigNode.ListNode> Supplier<ConfigNode.ListNode>
- All Known Implementing Classes:
ListNodeBuilderImpl
- Enclosing interface:
ConfigNode.ListNode
public static interface ConfigNode.ListNode.Builder
extends Builder<ConfigNode.ListNode.Builder,ConfigNode.ListNode>
Builder to build
ConfigNode.ListNode
instance.-
Method Summary
Modifier and TypeMethodDescriptionaddList
(ConfigNode.ListNode list) Adds List node to the list.addObject
(ConfigNode.ObjectNode object) Adds Object node to the list.addValue
(ConfigNode.ValueNode value) Adds String value to the list.default ConfigNode.ListNode.Builder
Adds String value to the list.Sets the node value associated with the current node.
-
Method Details
-
addValue
Adds String value to the list.- Parameters:
value
- string value- Returns:
- modified builder
-
addValue
Adds String value to the list.- Parameters:
value
- string value- Returns:
- modified builder
-
addObject
Adds Object node to the list.- Parameters:
object
- object node- Returns:
- modified builder
-
addList
Adds List node to the list.- Parameters:
list
- list node- Returns:
- modified builder
-
value
Sets the node value associated with the current node.- Parameters:
value
- value to be assigned- Returns:
- modified builder
-