Class InstrumentationExecutionParameters
- java.lang.Object
-
- graphql.execution.instrumentation.parameters.InstrumentationExecutionParameters
-
- Direct Known Subclasses:
InstrumentationValidationParameters
@PublicApi public class InstrumentationExecutionParameters extends java.lang.Object
Parameters sent toInstrumentation
methods
-
-
Constructor Summary
Constructors Constructor Description InstrumentationExecutionParameters(ExecutionInput executionInput, GraphQLSchema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> T
getContext()
Deprecated.usegetGraphQLContext()
insteadExecutionInput
getExecutionInput()
GraphQLContext
getGraphQLContext()
java.lang.String
getOperation()
java.lang.String
getQuery()
GraphQLSchema
getSchema()
java.util.Map<java.lang.String,java.lang.Object>
getVariables()
-
-
-
Constructor Detail
-
InstrumentationExecutionParameters
public InstrumentationExecutionParameters(ExecutionInput executionInput, GraphQLSchema schema)
-
-
Method Detail
-
getExecutionInput
public ExecutionInput getExecutionInput()
-
getQuery
public java.lang.String getQuery()
-
getOperation
public java.lang.String getOperation()
-
getContext
@Deprecated(since="2021-07-05") public <T> T getContext()
Deprecated.usegetGraphQLContext()
instead- Type Parameters:
T
- for two- Returns:
- the legacy context
-
getGraphQLContext
public GraphQLContext getGraphQLContext()
-
getVariables
public java.util.Map<java.lang.String,java.lang.Object> getVariables()
-
getSchema
public GraphQLSchema getSchema()
-
-