public class InstrumentationFieldParameters
extends java.lang.Object
Instrumentation
methodsConstructor and Description |
---|
InstrumentationFieldParameters(ExecutionContext executionContext,
GraphQLFieldDefinition fieldDef,
ExecutionStepInfo executionStepInfo) |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
getExecutionContext() |
ExecutionStepInfo |
getExecutionStepInfo() |
GraphQLFieldDefinition |
getField() |
<T extends InstrumentationState> |
getInstrumentationState() |
InstrumentationFieldParameters |
withNewState(InstrumentationState instrumentationState)
Returns a cloned parameters object with the new state
|
public InstrumentationFieldParameters(ExecutionContext executionContext, GraphQLFieldDefinition fieldDef, ExecutionStepInfo executionStepInfo)
public InstrumentationFieldParameters withNewState(InstrumentationState instrumentationState)
instrumentationState
- the new state for this parameters objectpublic ExecutionContext getExecutionContext()
public GraphQLFieldDefinition getField()
public ExecutionStepInfo getExecutionStepInfo()
public <T extends InstrumentationState> T getInstrumentationState()