Package graphql
Class ParseAndValidateResult.Builder
- java.lang.Object
-
- graphql.ParseAndValidateResult.Builder
-
- Enclosing class:
- ParseAndValidateResult
public static class ParseAndValidateResult.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParseAndValidateResult
build()
ParseAndValidateResult.Builder
document(Document document)
ParseAndValidateResult.Builder
syntaxException(InvalidSyntaxException syntaxException)
ParseAndValidateResult.Builder
validationErrors(java.util.List<ValidationError> validationErrors)
ParseAndValidateResult.Builder
variables(java.util.Map<java.lang.String,java.lang.Object> variables)
-
-
-
Method Detail
-
document
public ParseAndValidateResult.Builder document(Document document)
-
variables
public ParseAndValidateResult.Builder variables(java.util.Map<java.lang.String,java.lang.Object> variables)
-
validationErrors
public ParseAndValidateResult.Builder validationErrors(java.util.List<ValidationError> validationErrors)
-
syntaxException
public ParseAndValidateResult.Builder syntaxException(InvalidSyntaxException syntaxException)
-
build
public ParseAndValidateResult build()
-
-