@PublicApi public class DataFetchingEnvironmentBuilder extends java.lang.Object
DataFetchingEnvironment
sConstructor and Description |
---|
DataFetchingEnvironmentBuilder() |
public static DataFetchingEnvironmentBuilder newDataFetchingEnvironment()
DataFetchingEnvironmentBuilder
public static DataFetchingEnvironmentBuilder newDataFetchingEnvironment(DataFetchingEnvironment environment)
public static DataFetchingEnvironmentBuilder newDataFetchingEnvironment(ExecutionContext executionContext)
public DataFetchingEnvironmentBuilder source(java.lang.Object source)
public DataFetchingEnvironmentBuilder arguments(java.util.Map<java.lang.String,java.lang.Object> arguments)
public DataFetchingEnvironmentBuilder context(java.lang.Object context)
public DataFetchingEnvironmentBuilder root(java.lang.Object root)
public DataFetchingEnvironmentBuilder fieldDefinition(GraphQLFieldDefinition fieldDefinition)
public DataFetchingEnvironmentBuilder fields(java.util.List<Field> fields)
public DataFetchingEnvironmentBuilder fieldType(GraphQLOutputType fieldType)
public DataFetchingEnvironmentBuilder parentType(GraphQLType parentType)
public DataFetchingEnvironmentBuilder graphQLSchema(GraphQLSchema graphQLSchema)
public DataFetchingEnvironmentBuilder fragmentsByName(java.util.Map<java.lang.String,FragmentDefinition> fragmentsByName)
public DataFetchingEnvironmentBuilder executionId(ExecutionId executionId)
public DataFetchingEnvironmentBuilder selectionSet(DataFetchingFieldSelectionSet selectionSet)
public DataFetchingEnvironmentBuilder fieldTypeInfo(ExecutionTypeInfo typeInfo)
public DataFetchingEnvironmentBuilder executionContext(ExecutionContext executionContext)
public DataFetchingEnvironment build()