Class InstrumentationValidationParameters
- java.lang.Object
-
- graphql.execution.instrumentation.parameters.InstrumentationExecutionParameters
-
- graphql.execution.instrumentation.parameters.InstrumentationValidationParameters
-
@PublicApi public class InstrumentationValidationParameters extends InstrumentationExecutionParameters
Parameters sent toInstrumentation
methods
-
-
Constructor Summary
Constructors Constructor Description InstrumentationValidationParameters(ExecutionInput executionInput, Document document, GraphQLSchema schema, InstrumentationState instrumentationState)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Document
getDocument()
InstrumentationValidationParameters
withNewState(InstrumentationState instrumentationState)
Deprecated.state is now passed in direct to instrumentation methods-
Methods inherited from class graphql.execution.instrumentation.parameters.InstrumentationExecutionParameters
getContext, getExecutionInput, getGraphQLContext, getInstrumentationState, getOperation, getQuery, getSchema, getVariables
-
-
-
-
Constructor Detail
-
InstrumentationValidationParameters
public InstrumentationValidationParameters(ExecutionInput executionInput, Document document, GraphQLSchema schema, InstrumentationState instrumentationState)
-
-
Method Detail
-
withNewState
@Deprecated public InstrumentationValidationParameters withNewState(InstrumentationState instrumentationState)
Deprecated.state is now passed in direct to instrumentation methodsReturns a cloned parameters object with the new state- Overrides:
withNewState
in classInstrumentationExecutionParameters
- Parameters:
instrumentationState
- the new state for this parameters object- Returns:
- a new parameters object with the new state
-
getDocument
public Document getDocument()
-
-