-
- All Superinterfaces:
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 to buildConfigNode.ListNode
instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ConfigNode.ListNode.Builder
addList(ConfigNode.ListNode list)
Adds List node to the list.ConfigNode.ListNode.Builder
addObject(ConfigNode.ObjectNode object)
Adds Object node to the list.ConfigNode.ListNode.Builder
addValue(ConfigNode.ValueNode value)
Adds String value to the list.default ConfigNode.ListNode.Builder
addValue(String value)
Adds String value to the list.ConfigNode.ListNode.Builder
value(String value)
Sets the node value associated with the current node.
-
-
-
Method Detail
-
addValue
default ConfigNode.ListNode.Builder addValue(String value)
Adds String value to the list.- Parameters:
value
- string value- Returns:
- modified builder
-
addValue
ConfigNode.ListNode.Builder addValue(ConfigNode.ValueNode value)
Adds String value to the list.- Parameters:
value
- string value- Returns:
- modified builder
-
addObject
ConfigNode.ListNode.Builder addObject(ConfigNode.ObjectNode object)
Adds Object node to the list.- Parameters:
object
- object node- Returns:
- modified builder
-
addList
ConfigNode.ListNode.Builder addList(ConfigNode.ListNode list)
Adds List node to the list.- Parameters:
list
- list node- Returns:
- modified builder
-
value
ConfigNode.ListNode.Builder value(String value)
Sets the node value associated with the current node.- Parameters:
value
- value to be assigned- Returns:
- modified builder
-
-