Class ExecutionErrorResult

java.lang.Object
org.opencastproject.graphql.execution.ExecutionErrorResult
All Implemented Interfaces:
graphql.ExecutionResult

public class ExecutionErrorResult extends Object implements graphql.ExecutionResult
  • Constructor Details

    • ExecutionErrorResult

      public ExecutionErrorResult(List<graphql.GraphQLError> errors)
    • ExecutionErrorResult

      public ExecutionErrorResult(List<graphql.GraphQLError> errors, Map<Object,Object> extensions)
  • Method Details

    • getErrors

      public List<graphql.GraphQLError> getErrors()
      Specified by:
      getErrors in interface graphql.ExecutionResult
    • getData

      public <T> T getData()
      Specified by:
      getData in interface graphql.ExecutionResult
    • isDataPresent

      public boolean isDataPresent()
      Specified by:
      isDataPresent in interface graphql.ExecutionResult
    • getExtensions

      public Map<Object,Object> getExtensions()
      Specified by:
      getExtensions in interface graphql.ExecutionResult
    • toSpecification

      public Map<String,Object> toSpecification()
      Specified by:
      toSpecification in interface graphql.ExecutionResult
    • newExecutionResult

      public static ExecutionErrorResult.Builder newExecutionResult()