@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 graphQLContext(GraphQLContext context)
public ExecutionContextBuilder localContext(java.lang.Object localContext)
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 ExecutionContextBuilder locale(java.util.Locale locale)
public ExecutionContextBuilder valueUnboxer(ValueUnboxer valueUnboxer)
public ExecutionContextBuilder executionInput(ExecutionInput executionInput)
public ExecutionContextBuilder resetErrors()
public ExecutionContext build()