@PublicApi public class InstrumentationExecutionParameters extends Object
Instrumentation
methodsConstructor and Description |
---|
InstrumentationExecutionParameters(ExecutionInput executionInput,
GraphQLSchema schema,
InstrumentationState instrumentationState) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getContext() |
ExecutionInput |
getExecutionInput() |
<T extends InstrumentationState> |
getInstrumentationState() |
String |
getOperation() |
String |
getQuery() |
GraphQLSchema |
getSchema() |
Map<String,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 String getQuery()
public String getOperation()
public <T> T getContext()
public <T extends InstrumentationState> T getInstrumentationState()
public GraphQLSchema getSchema()
Copyright © 2019. All rights reserved.