public class ObjectExecutionResultNode extends ExecutionResultNode
Constructor and Description |
---|
ObjectExecutionResultNode(ExecutionStepInfo executionStepInfo,
ResolvedValue resolvedValue,
java.util.List<ExecutionResultNode> children) |
ObjectExecutionResultNode(ExecutionStepInfo executionStepInfo,
ResolvedValue resolvedValue,
java.util.List<ExecutionResultNode> children,
java.util.List<GraphQLError> errors) |
Modifier and Type | Method and Description |
---|---|
ObjectExecutionResultNode |
withNewChildren(java.util.List<ExecutionResultNode> children)
Creates a new ExecutionResultNode of the same specific type with the new set of result children
|
ExecutionResultNode |
withNewErrors(java.util.List<GraphQLError> errors)
Creates a new ExecutionResultNode of the same specific type with the new error collection
|
ExecutionResultNode |
withNewExecutionStepInfo(ExecutionStepInfo executionStepInfo) |
ExecutionResultNode |
withNewResolvedValue(ResolvedValue resolvedValue) |
getChildNonNullableException, getChildren, getErrors, getExecutionStepInfo, getMergedField, getNonNullableFieldWasNullException, getResolvedValue, toString
public ObjectExecutionResultNode(ExecutionStepInfo executionStepInfo, ResolvedValue resolvedValue, java.util.List<ExecutionResultNode> children)
public ObjectExecutionResultNode(ExecutionStepInfo executionStepInfo, ResolvedValue resolvedValue, java.util.List<ExecutionResultNode> children, java.util.List<GraphQLError> errors)
public ObjectExecutionResultNode withNewChildren(java.util.List<ExecutionResultNode> children)
ExecutionResultNode
withNewChildren
in class ExecutionResultNode
children
- the new children for this result nodepublic ExecutionResultNode withNewResolvedValue(ResolvedValue resolvedValue)
withNewResolvedValue
in class ExecutionResultNode
public ExecutionResultNode withNewExecutionStepInfo(ExecutionStepInfo executionStepInfo)
withNewExecutionStepInfo
in class ExecutionResultNode
public ExecutionResultNode withNewErrors(java.util.List<GraphQLError> errors)
ExecutionResultNode
withNewErrors
in class ExecutionResultNode
errors
- the new errors for this result node