public static class DataFetchingEnvironmentImpl.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Builder(DataFetchingEnvironmentImpl env) |
public Builder(DataFetchingEnvironmentImpl env)
public Builder()
public DataFetchingEnvironmentImpl.Builder source(java.lang.Object source)
public DataFetchingEnvironmentImpl.Builder arguments(java.util.Map<java.lang.String,java.lang.Object> arguments)
public DataFetchingEnvironmentImpl.Builder arguments(java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.Object>> arguments)
@Deprecated public DataFetchingEnvironmentImpl.Builder context(java.lang.Object context)
public DataFetchingEnvironmentImpl.Builder graphQLContext(GraphQLContext context)
public DataFetchingEnvironmentImpl.Builder localContext(java.lang.Object localContext)
public DataFetchingEnvironmentImpl.Builder root(java.lang.Object root)
public DataFetchingEnvironmentImpl.Builder fieldDefinition(GraphQLFieldDefinition fieldDefinition)
public DataFetchingEnvironmentImpl.Builder mergedField(MergedField mergedField)
public DataFetchingEnvironmentImpl.Builder fieldType(GraphQLOutputType fieldType)
public DataFetchingEnvironmentImpl.Builder parentType(GraphQLType parentType)
public DataFetchingEnvironmentImpl.Builder graphQLSchema(GraphQLSchema graphQLSchema)
public DataFetchingEnvironmentImpl.Builder fragmentsByName(java.util.Map<java.lang.String,FragmentDefinition> fragmentsByName)
public DataFetchingEnvironmentImpl.Builder executionId(ExecutionId executionId)
public DataFetchingEnvironmentImpl.Builder selectionSet(DataFetchingFieldSelectionSet selectionSet)
public DataFetchingEnvironmentImpl.Builder executionStepInfo(ExecutionStepInfo executionStepInfo)
public DataFetchingEnvironmentImpl.Builder executionStepInfo(java.util.function.Supplier<ExecutionStepInfo> executionStepInfo)
public DataFetchingEnvironmentImpl.Builder dataLoaderRegistry(org.dataloader.DataLoaderRegistry dataLoaderRegistry)
public DataFetchingEnvironmentImpl.Builder cacheControl(CacheControl cacheControl)
public DataFetchingEnvironmentImpl.Builder locale(java.util.Locale locale)
public DataFetchingEnvironmentImpl.Builder operationDefinition(OperationDefinition operationDefinition)
public DataFetchingEnvironmentImpl.Builder document(Document document)
public DataFetchingEnvironmentImpl.Builder variables(java.util.Map<java.lang.String,java.lang.Object> variables)
public DataFetchingEnvironmentImpl.Builder queryDirectives(QueryDirectives queryDirectives)
public DataFetchingEnvironment build()