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