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