Package | Description |
---|---|
graphql | |
graphql.schema | |
graphql.schema.idl | |
graphql.validation |
Modifier and Type | Field and Description |
---|---|
static GraphQLDirective |
Directives.DeferDirective |
static GraphQLDirective |
Directives.FetchDirective
Deprecated.
- this is no longer needed and will be removed in a future version
|
static GraphQLDirective |
Directives.IncludeDirective |
static GraphQLDirective |
Directives.SkipDirective |
Modifier and Type | Method and Description |
---|---|
static Map<String,GraphQLDirective> |
DirectivesUtil.directivesByName(List<GraphQLDirective> directiveList) |
Modifier and Type | Method and Description |
---|---|
static Map<String,GraphQLDirective> |
DirectivesUtil.directivesByName(List<GraphQLDirective> directiveList) |
static Optional<GraphQLArgument> |
DirectivesUtil.directiveWithArg(List<GraphQLDirective> directiveList,
String directiveName,
String argumentName) |
Modifier and Type | Method and Description |
---|---|
GraphQLDirective |
GraphQLDirective.Builder.build() |
GraphQLDirective |
GraphQLSchema.getDirective(String name) |
GraphQLDirective |
GraphQLEnumValueDefinition.getDirective(String directiveName) |
default GraphQLDirective |
GraphQLDirectiveContainer.getDirective(String directiveName)
Returns a named directive
|
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.
|
Modifier and Type | Method and Description |
---|---|
List<GraphQLDirective> |
GraphQLSchema.getDirectives() |
List<GraphQLDirective> |
GraphQLUnionType.getDirectives() |
List<GraphQLDirective> |
GraphQLScalarType.getDirectives() |
List<GraphQLDirective> |
GraphQLObjectType.getDirectives() |
List<GraphQLDirective> |
GraphQLInterfaceType.getDirectives() |
List<GraphQLDirective> |
GraphQLInputObjectType.getDirectives() |
List<GraphQLDirective> |
GraphQLInputObjectField.getDirectives() |
List<GraphQLDirective> |
GraphQLFieldDefinition.getDirectives() |
List<GraphQLDirective> |
GraphQLEnumValueDefinition.getDirectives() |
List<GraphQLDirective> |
GraphQLEnumType.getDirectives() |
List<GraphQLDirective> |
GraphQLDirectiveContainer.getDirectives() |
List<GraphQLDirective> |
GraphQLArgument.getDirectives() |
Map<String,GraphQLDirective> |
GraphQLEnumValueDefinition.getDirectivesByName() |
default Map<String,GraphQLDirective> |
GraphQLDirectiveContainer.getDirectivesByName() |
Modifier and Type | Method and Description |
---|---|
GraphQLSchema.Builder |
GraphQLSchema.Builder.additionalDirectives(Set<GraphQLDirective> additionalDirectives) |
GraphQLSchema |
GraphQLSchema.Builder.build(Set<GraphQLType> additionalTypes,
Set<GraphQLDirective> additionalDirectives)
Deprecated.
|
Constructor and Description |
---|
Builder(GraphQLDirective existing) |
Constructor and Description |
---|
GraphQLEnumType(String name,
String description,
List<GraphQLEnumValueDefinition> values,
List<GraphQLDirective> directives,
EnumTypeDefinition definition)
Deprecated.
use the
GraphQLEnumType.newEnum() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLEnumValueDefinition(String name,
String description,
Object value,
String deprecationReason,
List<GraphQLDirective> directives)
Deprecated.
use the
GraphQLEnumValueDefinition.newEnumValueDefinition() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLFieldDefinition(String name,
String description,
GraphQLOutputType type,
DataFetcherFactory dataFetcherFactory,
List<GraphQLArgument> arguments,
String deprecationReason,
List<GraphQLDirective> directives,
FieldDefinition definition)
Deprecated.
use the
GraphQLFieldDefinition.newFieldDefinition() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLInputObjectField(String name,
String description,
GraphQLInputType type,
Object defaultValue,
List<GraphQLDirective> directives,
InputValueDefinition definition)
Deprecated.
use the
GraphQLInputObjectField.newInputObjectField() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLInputObjectType(String name,
String description,
List<GraphQLInputObjectField> fields,
List<GraphQLDirective> directives,
InputObjectTypeDefinition definition)
Deprecated.
use the
GraphQLInputObjectType.newInputObject() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLInterfaceType(String name,
String description,
List<GraphQLFieldDefinition> fieldDefinitions,
TypeResolver typeResolver,
List<GraphQLDirective> directives,
InterfaceTypeDefinition definition)
Deprecated.
use the
GraphQLInterfaceType.newInterface() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLObjectType(String name,
String description,
List<GraphQLFieldDefinition> fieldDefinitions,
List<GraphQLOutputType> interfaces,
List<GraphQLDirective> directives,
ObjectTypeDefinition definition)
Deprecated.
use the
GraphQLObjectType.newObject() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLScalarType(String name,
String description,
Coercing coercing,
List<GraphQLDirective> directives,
ScalarTypeDefinition definition)
Deprecated.
use the
GraphQLScalarType.newScalar() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLUnionType(String name,
String description,
List<GraphQLOutputType> types,
TypeResolver typeResolver,
List<GraphQLDirective> directives,
UnionTypeDefinition definition)
Deprecated.
use the
GraphQLUnionType.newUnionType() builder pattern instead, as this constructor will be made private in a future version. |
Modifier and Type | Method and Description |
---|---|
GraphQLDirective |
SchemaGeneratorHelper.buildDirective(Directive directive,
Set<GraphQLDirective> directiveDefinitions,
Introspection.DirectiveLocation directiveLocation) |
GraphQLDirective |
SchemaGeneratorHelper.buildDirectiveFromDefinition(DirectiveDefinition directiveDefinition,
Function<Type,GraphQLInputType> inputTypeFactory) |
GraphQLDirective |
SchemaDirectiveWiringEnvironmentImpl.getDirective() |
GraphQLDirective |
SchemaDirectiveWiringEnvironment.getDirective() |
Modifier and Type | Method and Description |
---|---|
List<GraphQLDirective> |
FieldWiringEnvironment.getDirectives() |
Modifier and Type | Method and Description |
---|---|
GraphQLDirective |
SchemaGeneratorHelper.buildDirective(Directive directive,
Set<GraphQLDirective> directiveDefinitions,
Introspection.DirectiveLocation directiveLocation) |
Constructor and Description |
---|
SchemaDirectiveWiringEnvironmentImpl(T element,
GraphQLDirective directive,
graphql.schema.idl.SchemaGeneratorDirectiveHelper.Parameters parameters) |
Modifier and Type | Method and Description |
---|---|
GraphQLDirective |
ValidationContext.getDirective() |
GraphQLDirective |
TraversalContext.getDirective() |
Copyright © 2019. All rights reserved.