public static interface ConfigNode.Builder<V>
| Modifier and Type | Method and Description |
|---|---|
ConfigNode.Builder |
addChildren(java.lang.Class<ConfigNode> children)
Adds children to the children field.
|
ConfigNode.Builder |
addType(NodeType type)
Adds the type of the instance node.
|
ConfigNode.Builder |
addValue(java.lang.Class<V> value)
Adds the value of the instance node.
|
ConfigNode |
build()
Builds an immutable ConfigNode entity.
|
ConfigNode.Builder addType(NodeType type)
type - node typeConfigNode.Builder addValue(java.lang.Class<V> value)
value - at the nodeConfigNode.Builder addChildren(java.lang.Class<ConfigNode> children)
children - to be addedConfigNode build()