public class InstrumentationFieldFetchParameters extends InstrumentationFieldParameters
Instrumentation
methodsConstructor and Description |
---|
InstrumentationFieldFetchParameters(ExecutionContext getExecutionContext,
GraphQLFieldDefinition fieldDef,
DataFetchingEnvironment environment,
ExecutionStrategyParameters executionStrategyParameters) |
Modifier and Type | Method and Description |
---|---|
DataFetchingEnvironment |
getEnvironment() |
InstrumentationFieldFetchParameters |
withNewState(InstrumentationState instrumentationState)
Returns a cloned parameters object with the new state
|
getExecutionContext, getField, getInstrumentationState, getTypeInfo
public InstrumentationFieldFetchParameters(ExecutionContext getExecutionContext, GraphQLFieldDefinition fieldDef, DataFetchingEnvironment environment, ExecutionStrategyParameters executionStrategyParameters)
public InstrumentationFieldFetchParameters withNewState(InstrumentationState instrumentationState)
withNewState
in class InstrumentationFieldParameters
instrumentationState
- the new state for this parameters objectpublic DataFetchingEnvironment getEnvironment()