Package | Description |
---|---|
graphql.schema |
Modifier and Type | Method and Description |
---|---|
GraphQLDirective.Builder |
GraphQLDirective.Builder.argument(GraphQLArgument.Builder builder)
Same effect as the argument(GraphQLArgument).
|
GraphQLDirective.Builder |
GraphQLDirective.Builder.argument(GraphQLArgument argument) |
GraphQLDirective.Builder |
GraphQLDirective.Builder.argument(UnaryOperator<GraphQLArgument.Builder> builderFunction)
Take an argument builder in a function definition and apply.
|
GraphQLDirective.Builder |
GraphQLDirective.Builder.clearArguments()
This is used to clear all the arguments in the builder so far.
|
GraphQLDirective.Builder |
GraphQLDirective.Builder.clearValidLocations() |
GraphQLDirective.Builder |
GraphQLDirective.Builder.description(String description) |
GraphQLDirective.Builder |
GraphQLDirective.Builder.name(String name) |
static GraphQLDirective.Builder |
GraphQLDirective.newDirective() |
static GraphQLDirective.Builder |
GraphQLDirective.newDirective(GraphQLDirective existing) |
GraphQLDirective.Builder |
GraphQLDirective.Builder.onField(boolean onField)
Deprecated.
Use
graphql.schema.GraphQLDirective.Builder#validLocations(DirectiveLocation...) |
GraphQLDirective.Builder |
GraphQLDirective.Builder.onFragment(boolean onFragment)
Deprecated.
Use
graphql.schema.GraphQLDirective.Builder#validLocations(DirectiveLocation...) |
GraphQLDirective.Builder |
GraphQLDirective.Builder.onOperation(boolean onOperation)
Deprecated.
Use
graphql.schema.GraphQLDirective.Builder#validLocations(DirectiveLocation...) |
GraphQLDirective.Builder |
GraphQLDirective.Builder.validLocation(Introspection.DirectiveLocation validLocation) |
GraphQLDirective.Builder |
GraphQLDirective.Builder.validLocations(Introspection.DirectiveLocation... validLocations) |
Modifier and Type | Method and Description |
---|---|
GraphQLDirective |
GraphQLDirective.transform(Consumer<GraphQLDirective.Builder> builderConsumer)
This helps you transform the current GraphQLDirective 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.