public class GQLExecutionResult extends Object implements graphql.ExecutionResult
| Constructor and Description |
|---|
GQLExecutionResult(graphql.ExecutionResult wrappedExecutionResult,
GQLExecutionErrorDetails errorDetails)
Constructor
|
GQLExecutionResult(GQLExecutionErrorDetails errorDetails)
Constructor for execution error
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getData() |
GQLExecutionErrorDetails |
getErrorDetails() |
List<graphql.GraphQLError> |
getErrors() |
Map<Object,Object> |
getExtensions() |
boolean |
isDataPresent() |
Map<String,Object> |
toSpecification() |
public GQLExecutionResult(GQLExecutionErrorDetails errorDetails)
errorDetails - the GQLExecutionErrorDetailspublic GQLExecutionResult(graphql.ExecutionResult wrappedExecutionResult,
GQLExecutionErrorDetails errorDetails)
wrappedExecutionResult - the wrappedExecutionResult ExecutionResulterrorDetails - the GQLExecutionErrorDetailspublic GQLExecutionErrorDetails getErrorDetails()
public List<graphql.GraphQLError> getErrors()
getErrors in interface graphql.ExecutionResultpublic <T> T getData()
getData in interface graphql.ExecutionResultpublic boolean isDataPresent()
isDataPresent in interface graphql.ExecutionResultpublic Map<Object,Object> getExtensions()
getExtensions in interface graphql.ExecutionResultCopyright © 2019. All rights reserved.