Package graphql.language
Class NodeChildrenContainer.Builder
- java.lang.Object
-
- graphql.language.NodeChildrenContainer.Builder
-
- Enclosing class:
- NodeChildrenContainer
public static class NodeChildrenContainer.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeChildrenContainer
build()
NodeChildrenContainer.Builder
child(java.lang.String key, Node child)
NodeChildrenContainer.Builder
children(java.lang.String key, java.util.List<? extends Node> children)
NodeChildrenContainer.Builder
children(java.util.Map<java.lang.String,? extends java.util.List<? extends Node>> children)
NodeChildrenContainer.Builder
removeChild(java.lang.String key, int index)
NodeChildrenContainer.Builder
replaceChild(java.lang.String key, int index, Node newChild)
-
-
-
Method Detail
-
child
public NodeChildrenContainer.Builder child(java.lang.String key, Node child)
-
children
public NodeChildrenContainer.Builder children(java.lang.String key, java.util.List<? extends Node> children)
-
children
public NodeChildrenContainer.Builder children(java.util.Map<java.lang.String,? extends java.util.List<? extends Node>> children)
-
replaceChild
public NodeChildrenContainer.Builder replaceChild(java.lang.String key, int index, Node newChild)
-
removeChild
public NodeChildrenContainer.Builder removeChild(java.lang.String key, int index)
-
build
public NodeChildrenContainer build()
-
-