public class InstrumentationExecutionParameters
extends java.lang.Object
Instrumentation
methodsConstructor 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() |
java.lang.String |
getOperation() |
java.lang.String |
getQuery() |
GraphQLSchema |
getSchema() |
java.util.Map<java.lang.String,java.lang.Object> |
getVariables() |
InstrumentationExecutionParameters |
withNewState(InstrumentationState instrumentationState)
Returns a cloned parameters object with the new state
|
public InstrumentationExecutionParameters(ExecutionInput executionInput, GraphQLSchema schema, InstrumentationState instrumentationState)
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()
public <T extends InstrumentationState> T getInstrumentationState()
public GraphQLSchema getSchema()