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