@PublicApi public class ExecutionContextBuilder extends java.lang.Object
Constructor and Description |
---|
ExecutionContextBuilder() |
public static ExecutionContextBuilder newExecutionContextBuilder()
ExecutionContext
spublic static ExecutionContextBuilder newExecutionContextBuilder(ExecutionContext other)
other
- the previous execution to cloneExecutionContext
spublic ExecutionContextBuilder instrumentation(Instrumentation instrumentation)
public ExecutionContextBuilder instrumentationState(InstrumentationState instrumentationState)
public ExecutionContextBuilder executionId(ExecutionId executionId)
public ExecutionContextBuilder graphQLSchema(GraphQLSchema graphQLSchema)
public ExecutionContextBuilder queryStrategy(ExecutionStrategy queryStrategy)
public ExecutionContextBuilder mutationStrategy(ExecutionStrategy mutationStrategy)
public ExecutionContextBuilder subscriptionStrategy(ExecutionStrategy subscriptionStrategy)
public ExecutionContextBuilder context(java.lang.Object context)
public ExecutionContextBuilder root(java.lang.Object root)
public ExecutionContextBuilder variables(java.util.Map<java.lang.String,java.lang.Object> variables)
public ExecutionContextBuilder fragmentsByName(java.util.Map<java.lang.String,FragmentDefinition> fragmentsByName)
public ExecutionContextBuilder document(Document document)
public ExecutionContextBuilder operationDefinition(OperationDefinition operationDefinition)
public ExecutionContextBuilder dataLoaderRegistry(org.dataloader.DataLoaderRegistry dataLoaderRegistry)
public ExecutionContextBuilder cacheControl(CacheControl cacheControl)
public ExecutionContext build()