public static class GraphQLSchema.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
public GraphQLSchema.Builder query(GraphQLObjectType.Builder builder)
public GraphQLSchema.Builder query(GraphQLObjectType queryType)
public GraphQLSchema.Builder mutation(GraphQLObjectType.Builder builder)
public GraphQLSchema.Builder mutation(GraphQLObjectType mutationType)
public GraphQLSchema.Builder subscription(GraphQLObjectType.Builder builder)
public GraphQLSchema.Builder subscription(GraphQLObjectType subscriptionType)
public GraphQLSchema.Builder fieldVisibility(GraphqlFieldVisibility fieldVisibility)
public GraphQLSchema.Builder additionalTypes(java.util.Set<GraphQLType> additionalTypes)
public GraphQLSchema.Builder additionalType(GraphQLType additionalType)
public GraphQLSchema.Builder clearAdditionalTypes()
public GraphQLSchema.Builder additionalDirectives(java.util.Set<GraphQLDirective> additionalDirectives)
public GraphQLSchema.Builder additionalDirective(GraphQLDirective additionalDirective)
public GraphQLSchema.Builder clearDirectives()
@Deprecated public GraphQLSchema build(java.util.Set<GraphQLType> additionalTypes)
additionalType(GraphQLType)
methodsadditionalTypes
- - please dont use this any more@Deprecated public GraphQLSchema build(java.util.Set<GraphQLType> additionalTypes, java.util.Set<GraphQLDirective> additionalDirectives)
additionalType(GraphQLType)
and additionalDirective(GraphQLDirective)
methodsadditionalTypes
- - please don't use this any moreadditionalDirectives
- - please don't use this any morepublic GraphQLSchema build()