Package | Description |
---|---|
graphql.schema |
Modifier and Type | Method and Description |
---|---|
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.clearDirectives()
This is used to clear all the directives in the builder so far.
|
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.clearFields()
This is used to clear all the fields in the builder so far.
|
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.definition(InterfaceTypeDefinition definition) |
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.description(String description) |
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.field(GraphQLFieldDefinition.Builder builder)
Same effect as the field(GraphQLFieldDefinition).
|
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.field(GraphQLFieldDefinition fieldDefinition) |
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.field(UnaryOperator<GraphQLFieldDefinition.Builder> builderFunction)
Take a field builder in a function definition and apply.
|
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.fields(List<GraphQLFieldDefinition> fieldDefinitions) |
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.name(String name) |
static GraphQLInterfaceType.Builder |
GraphQLInterfaceType.newInterface() |
static GraphQLInterfaceType.Builder |
GraphQLInterfaceType.newInterface(GraphQLInterfaceType existing) |
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.typeResolver(TypeResolver typeResolver)
Deprecated.
|
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.withDirective(GraphQLDirective.Builder builder) |
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.withDirective(GraphQLDirective directive) |
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.withDirectives(GraphQLDirective... directives) |
Modifier and Type | Method and Description |
---|---|
GraphQLFieldDefinition.Builder |
GraphQLFieldDefinition.Builder.type(GraphQLInterfaceType.Builder builder) |
Modifier and Type | Method and Description |
---|---|
GraphQLInterfaceType |
GraphQLInterfaceType.transform(Consumer<GraphQLInterfaceType.Builder> builderConsumer)
This helps you transform the current GraphQLInterfaceType into another one by starting a builder with all
the current values and allows you to transform it how you want.
|
Copyright © 2019. All rights reserved.