Package graphql

Class ExecutionResultImpl.Builder<T extends ExecutionResultImpl.Builder<T>>

    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T addError​(GraphQLError error)
      Adds the error to any existing the errors for this builder
      T addErrors​(java.util.List<GraphQLError> errors)
      Adds the error list to any existing the errors for this builder
      T addExtension​(java.lang.String key, java.lang.Object value)
      Adds a new entry into the extensions map for this builder
      ExecutionResult build()  
      T data​(java.lang.Object data)
      Sets new data into the builder
      T errors​(java.util.List<GraphQLError> errors)
      Sets error list as the errors for this builder
      T extensions​(java.util.Map<java.lang.Object,​java.lang.Object> extensions)
      Sets the extension map for this builder
      T from​(ExecutionResult executionResult)
      Sets values into the builder based on a previous ExecutionResult
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait