public class InstrumentationFieldCompleteParameters extends Object
Instrumentation
methodsConstructor and Description |
---|
InstrumentationFieldCompleteParameters(ExecutionContext executionContext,
ExecutionStrategyParameters executionStrategyParameters,
GraphQLFieldDefinition fieldDef,
ExecutionStepInfo typeInfo,
Object fetchedValue) |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
getExecutionContext() |
ExecutionStrategyParameters |
getExecutionStrategyParameters() |
Object |
getFetchedValue() |
GraphQLFieldDefinition |
getField() |
<T extends InstrumentationState> |
getInstrumentationState() |
ExecutionStepInfo |
getTypeInfo() |
InstrumentationFieldCompleteParameters |
withNewState(InstrumentationState instrumentationState)
Returns a cloned parameters object with the new state
|
public InstrumentationFieldCompleteParameters(ExecutionContext executionContext, ExecutionStrategyParameters executionStrategyParameters, GraphQLFieldDefinition fieldDef, ExecutionStepInfo typeInfo, Object fetchedValue)
public InstrumentationFieldCompleteParameters withNewState(InstrumentationState instrumentationState)
instrumentationState
- the new state for this parameters objectpublic ExecutionContext getExecutionContext()
public ExecutionStrategyParameters getExecutionStrategyParameters()
public GraphQLFieldDefinition getField()
public ExecutionStepInfo getTypeInfo()
public Object getFetchedValue()
public <T extends InstrumentationState> T getInstrumentationState()
Copyright © 2019. All rights reserved.