Package graphql.language
Class SelectionSet.Builder
- java.lang.Object
-
- graphql.language.SelectionSet.Builder
-
- All Implemented Interfaces:
NodeBuilder
- Enclosing class:
- SelectionSet
public static final class SelectionSet.Builder extends java.lang.Object implements NodeBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectionSet.Builder
additionalData(java.lang.String key, java.lang.String value)
SelectionSet.Builder
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
SelectionSet
build()
SelectionSet.Builder
comments(java.util.List<Comment> comments)
SelectionSet.Builder
ignoredChars(IgnoredChars ignoredChars)
SelectionSet.Builder
selection(Selection selection)
SelectionSet.Builder
selections(java.util.Collection<? extends Selection> selections)
SelectionSet.Builder
sourceLocation(SourceLocation sourceLocation)
-
-
-
Method Detail
-
selections
public SelectionSet.Builder selections(java.util.Collection<? extends Selection> selections)
-
selection
public SelectionSet.Builder selection(Selection selection)
-
sourceLocation
public SelectionSet.Builder sourceLocation(SourceLocation sourceLocation)
- Specified by:
sourceLocation
in interfaceNodeBuilder
-
comments
public SelectionSet.Builder comments(java.util.List<Comment> comments)
- Specified by:
comments
in interfaceNodeBuilder
-
ignoredChars
public SelectionSet.Builder ignoredChars(IgnoredChars ignoredChars)
- Specified by:
ignoredChars
in interfaceNodeBuilder
-
additionalData
public SelectionSet.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
- Specified by:
additionalData
in interfaceNodeBuilder
-
additionalData
public SelectionSet.Builder additionalData(java.lang.String key, java.lang.String value)
- Specified by:
additionalData
in interfaceNodeBuilder
-
build
public SelectionSet build()
-
-