public abstract class ExecutionResultNode
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
ExecutionResultNode(ExecutionStepInfo executionStepInfo,
ResolvedValue resolvedValue,
NonNullableFieldWasNullException nonNullableFieldWasNullException,
java.util.List<ExecutionResultNode> children,
java.util.List<GraphQLError> errors) |
protected ExecutionResultNode(ExecutionStepInfo executionStepInfo, ResolvedValue resolvedValue, NonNullableFieldWasNullException nonNullableFieldWasNullException, java.util.List<ExecutionResultNode> children, java.util.List<GraphQLError> errors)
public java.util.List<GraphQLError> getErrors()
public ResolvedValue getResolvedValue()
public MergedField getMergedField()
public ExecutionStepInfo getExecutionStepInfo()
public NonNullableFieldWasNullException getNonNullableFieldWasNullException()
public java.util.List<ExecutionResultNode> getChildren()
public java.util.Optional<NonNullableFieldWasNullException> getChildNonNullableException()
public abstract ExecutionResultNode withNewChildren(java.util.List<ExecutionResultNode> children)
children
- the new children for this result nodepublic abstract ExecutionResultNode withNewResolvedValue(ResolvedValue resolvedValue)
public abstract ExecutionResultNode withNewExecutionStepInfo(ExecutionStepInfo executionStepInfo)
public abstract ExecutionResultNode withNewErrors(java.util.List<GraphQLError> errors)
errors
- the new errors for this result nodepublic java.lang.String toString()
toString
in class java.lang.Object