public class InstrumentationFieldFetchParameters extends InstrumentationFieldParameters
Instrumentation methods| Constructor 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, getTypeInfopublic InstrumentationFieldFetchParameters(ExecutionContext getExecutionContext, GraphQLFieldDefinition fieldDef, DataFetchingEnvironment environment, ExecutionStrategyParameters executionStrategyParameters)
public InstrumentationFieldFetchParameters withNewState(InstrumentationState instrumentationState)
withNewState in class InstrumentationFieldParametersinstrumentationState - the new state for this parameters objectpublic DataFetchingEnvironment getEnvironment()