Class InstrumentationExecutionParameters
- java.lang.Object
-
- graphql.execution.instrumentation.parameters.InstrumentationExecutionParameters
-
- Direct Known Subclasses:
InstrumentationValidationParameters
@PublicApi public class InstrumentationExecutionParameters extends java.lang.Object
Parameters sent toInstrumentationmethods
-
-
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> TgetContext()Deprecated.usegetGraphQLContext()insteadExecutionInputgetExecutionInput()GraphQLContextgetGraphQLContext()java.lang.StringgetOperation()java.lang.StringgetQuery()GraphQLSchemagetSchema()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()
-
-