@PublicApi public class InstrumentationExecutionParameters extends java.lang.Object
Instrumentation methods| Constructor and Description |
|---|
InstrumentationExecutionParameters(ExecutionInput executionInput,
GraphQLSchema schema,
InstrumentationState instrumentationState) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getContext()
Deprecated.
use
getGraphQLContext() instead |
ExecutionInput |
getExecutionInput() |
GraphQLContext |
getGraphQLContext() |
<T extends InstrumentationState> |
getInstrumentationState()
Deprecated.
state is now passed in direct to instrumentation methods
|
java.lang.String |
getOperation() |
java.lang.String |
getQuery() |
GraphQLSchema |
getSchema() |
java.util.Map<java.lang.String,java.lang.Object> |
getVariables() |
InstrumentationExecutionParameters |
withNewState(InstrumentationState instrumentationState)
Deprecated.
state is now passed in direct to instrumentation methods
|
public InstrumentationExecutionParameters(ExecutionInput executionInput, GraphQLSchema schema, InstrumentationState instrumentationState)
@Deprecated public InstrumentationExecutionParameters withNewState(InstrumentationState instrumentationState)
instrumentationState - the new state for this parameters objectpublic ExecutionInput getExecutionInput()
public java.lang.String getQuery()
public java.lang.String getOperation()
@Deprecated public <T> T getContext()
getGraphQLContext() insteadT - for twopublic GraphQLContext getGraphQLContext()
public java.util.Map<java.lang.String,java.lang.Object> getVariables()
@Deprecated public <T extends InstrumentationState> T getInstrumentationState()
Instrumentation.createState(InstrumentationCreateStateParameters) but now
to save object allocations, the state is passed directly into instrumentation methodsT - for twoInstrumentation.createState(InstrumentationCreateStateParameters)public GraphQLSchema getSchema()