Class InstrumentationFieldFetchParameters
java.lang.Object
graphql.execution.instrumentation.parameters.InstrumentationFieldParameters
graphql.execution.instrumentation.parameters.InstrumentationFieldFetchParameters
Parameters sent to
Instrumentation methods-
Constructor Summary
ConstructorsConstructorDescriptionInstrumentationFieldFetchParameters(ExecutionContext getExecutionContext, Supplier<DataFetchingEnvironment> environment, ExecutionStrategyParameters executionStrategyParameters, boolean trivialDataFetcher) -
Method Summary
Modifier and TypeMethodDescriptionbooleanwithNewState(InstrumentationState instrumentationState) Deprecated.state is now passed in direct to instrumentation methodsMethods inherited from class InstrumentationFieldParameters
getExecutionContext, getExecutionStepInfo, getField, getInstrumentationState
-
Constructor Details
-
InstrumentationFieldFetchParameters
public InstrumentationFieldFetchParameters(ExecutionContext getExecutionContext, Supplier<DataFetchingEnvironment> environment, ExecutionStrategyParameters executionStrategyParameters, boolean trivialDataFetcher)
-
-
Method Details
-
withNewState
@Deprecated public InstrumentationFieldFetchParameters withNewState(InstrumentationState instrumentationState) Deprecated.state is now passed in direct to instrumentation methodsReturns a cloned parameters object with the new state- Overrides:
withNewStatein classInstrumentationFieldParameters- Parameters:
instrumentationState- the new state for this parameters object- Returns:
- a new parameters object with the new state
-
getEnvironment
-
isTrivialDataFetcher
public boolean isTrivialDataFetcher()
-