@PublicApi public class InstrumentationFieldFetchParameters extends InstrumentationFieldParameters
Instrumentation
methodsConstructor and Description |
---|
InstrumentationFieldFetchParameters(ExecutionContext getExecutionContext,
java.util.function.Supplier<DataFetchingEnvironment> environment,
ExecutionStrategyParameters executionStrategyParameters,
boolean trivialDataFetcher) |
Modifier and Type | Method and Description |
---|---|
DataFetchingEnvironment |
getEnvironment() |
boolean |
isTrivialDataFetcher() |
InstrumentationFieldFetchParameters |
withNewState(InstrumentationState instrumentationState)
Deprecated.
state is now passed in direct to instrumentation methods
|
getExecutionContext, getExecutionStepInfo, getField, getInstrumentationState
public InstrumentationFieldFetchParameters(ExecutionContext getExecutionContext, java.util.function.Supplier<DataFetchingEnvironment> environment, ExecutionStrategyParameters executionStrategyParameters, boolean trivialDataFetcher)
@Deprecated public InstrumentationFieldFetchParameters withNewState(InstrumentationState instrumentationState)
withNewState
in class InstrumentationFieldParameters
instrumentationState
- the new state for this parameters objectpublic DataFetchingEnvironment getEnvironment()
public boolean isTrivialDataFetcher()