Uses of Class
graphql.schema.GraphQLDirective
-
-
Uses of GraphQLDirective in graphql
Fields in graphql declared as GraphQLDirective Modifier and Type Field Description static GraphQLDirective
Directives. DeprecatedDirective
The "deprecated" directive is special and is always available in a graphql schemastatic GraphQLDirective
Directives. IncludeDirective
static GraphQLDirective
Directives. OneOfDirective
static GraphQLDirective
Directives. SkipDirective
static GraphQLDirective
Directives. SpecifiedByDirective
The "specifiedBy" directive allows to provide a specification URL for a ScalarFields in graphql with type parameters of type GraphQLDirective Modifier and Type Field Description private java.util.List<GraphQLDirective>
DirectivesUtil.DirectivesHolder. allDirectives
private com.google.common.collect.ImmutableMap<java.lang.String,java.util.List<GraphQLDirective>>
DirectivesUtil.DirectivesHolder. allDirectivesByName
private com.google.common.collect.ImmutableMap<java.lang.String,GraphQLDirective>
DirectivesUtil.DirectivesHolder. nonRepeatableDirectivesByName
Methods in graphql that return GraphQLDirective Modifier and Type Method Description GraphQLDirective
DirectivesUtil.DirectivesHolder. getDirective(java.lang.String directiveName)
static GraphQLDirective
DirectivesUtil. getFirstDirective(java.lang.String name, java.util.Map<java.lang.String,java.util.List<GraphQLDirective>> allDirectivesByName)
Deprecated.Methods in graphql that return types with arguments of type GraphQLDirective Modifier and Type Method Description static java.util.List<GraphQLDirective>
DirectivesUtil. add(java.util.List<GraphQLDirective> targetList, GraphQLDirective newDirective)
Deprecated.static java.util.List<GraphQLDirective>
DirectivesUtil. addAll(java.util.List<GraphQLDirective> targetList, java.util.List<GraphQLDirective> newDirectives)
Deprecated.static java.util.Map<java.lang.String,com.google.common.collect.ImmutableList<GraphQLDirective>>
DirectivesUtil. allDirectivesByName(java.util.List<GraphQLDirective> directives)
Deprecated.com.google.common.collect.ImmutableMap<java.lang.String,java.util.List<GraphQLDirective>>
DirectivesUtil.DirectivesHolder. getAllDirectivesByName()
java.util.List<GraphQLDirective>
DirectivesUtil.DirectivesHolder. getDirectives()
java.util.List<GraphQLDirective>
DirectivesUtil.DirectivesHolder. getDirectives(java.lang.String directiveName)
com.google.common.collect.ImmutableMap<java.lang.String,GraphQLDirective>
DirectivesUtil.DirectivesHolder. getDirectivesByName()
static java.util.Map<java.lang.String,GraphQLDirective>
DirectivesUtil. nonRepeatableDirectivesByName(java.util.List<GraphQLDirective> directives)
Deprecated.Methods in graphql with parameters of type GraphQLDirective Modifier and Type Method Description static java.util.List<GraphQLDirective>
DirectivesUtil. add(java.util.List<GraphQLDirective> targetList, GraphQLDirective newDirective)
Deprecated.Method parameters in graphql with type arguments of type GraphQLDirective Modifier and Type Method Description static java.util.List<GraphQLDirective>
DirectivesUtil. add(java.util.List<GraphQLDirective> targetList, GraphQLDirective newDirective)
Deprecated.static java.util.List<GraphQLDirective>
DirectivesUtil. addAll(java.util.List<GraphQLDirective> targetList, java.util.List<GraphQLDirective> newDirectives)
Deprecated.static java.util.Map<java.lang.String,com.google.common.collect.ImmutableList<GraphQLDirective>>
DirectivesUtil. allDirectivesByName(java.util.List<GraphQLDirective> directives)
Deprecated.static java.util.Optional<GraphQLArgument>
DirectivesUtil. directiveWithArg(java.util.List<GraphQLDirective> directives, java.lang.String directiveName, java.lang.String argumentName)
Deprecated.static GraphQLDirective
DirectivesUtil. getFirstDirective(java.lang.String name, java.util.Map<java.lang.String,java.util.List<GraphQLDirective>> allDirectivesByName)
Deprecated.static boolean
DirectivesUtil. isAllNonRepeatable(java.util.List<GraphQLDirective> directives)
Deprecated.static java.util.Map<java.lang.String,GraphQLDirective>
DirectivesUtil. nonRepeatableDirectivesByName(java.util.List<GraphQLDirective> directives)
Deprecated.Constructor parameters in graphql with type arguments of type GraphQLDirective Constructor Description DirectivesHolder(java.util.Collection<GraphQLDirective> allDirectives, java.util.Collection<GraphQLAppliedDirective> allAppliedDirectives)
-
Uses of GraphQLDirective in graphql.execution.directives
Fields in graphql.execution.directives with type parameters of type GraphQLDirective Modifier and Type Field Description private com.google.common.collect.ImmutableMap<Field,java.util.List<GraphQLDirective>>
QueryDirectivesImpl. fieldDirectivesByField
private com.google.common.collect.ImmutableMap<java.lang.String,java.util.List<GraphQLDirective>>
QueryDirectivesImpl. fieldDirectivesByName
Methods in graphql.execution.directives that return types with arguments of type GraphQLDirective Modifier and Type Method Description java.util.List<GraphQLDirective>
QueryDirectives. getImmediateDirective(java.lang.String directiveName)
Deprecated.- use theQueryAppliedDirective
methods insteadjava.util.List<GraphQLDirective>
QueryDirectivesImpl. getImmediateDirective(java.lang.String directiveName)
java.util.Map<Field,java.util.List<GraphQLDirective>>
QueryDirectives. getImmediateDirectivesByField()
Deprecated.- use theQueryAppliedDirective
methods insteadjava.util.Map<Field,java.util.List<GraphQLDirective>>
QueryDirectivesImpl. getImmediateDirectivesByField()
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
QueryDirectives. getImmediateDirectivesByName()
Deprecated.- use theQueryAppliedDirective
methods insteadjava.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
QueryDirectivesImpl. getImmediateDirectivesByName()
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
DirectivesResolver. resolveDirectives(java.util.List<Directive> directives, GraphQLSchema schema, java.util.Map<java.lang.String,java.lang.Object> variables, GraphQLContext graphQLContext, java.util.Locale locale)
Methods in graphql.execution.directives with parameters of type GraphQLDirective Modifier and Type Method Description private void
DirectivesResolver. buildArguments(GraphQLDirective.Builder directiveBuilder, GraphQLCodeRegistry codeRegistry, GraphQLDirective protoType, Directive fieldDirective, java.util.Map<java.lang.String,java.lang.Object> variables, GraphQLContext graphQLContext, java.util.Locale locale)
private QueryAppliedDirective
QueryDirectivesImpl. toAppliedDirective(GraphQLDirective directive)
-
Uses of GraphQLDirective in graphql.introspection
Methods in graphql.introspection that return types with arguments of type GraphQLDirective Modifier and Type Method Description private java.util.List<GraphQLDirective>
IntrospectionWithDirectivesSupport. filterDirectives(GraphQLSchema schema, boolean isDefinedDirective, GraphQLDirectiveContainer container, java.util.List<GraphQLDirective> directives)
Method parameters in graphql.introspection with type arguments of type GraphQLDirective Modifier and Type Method Description private java.util.List<GraphQLDirective>
IntrospectionWithDirectivesSupport. filterDirectives(GraphQLSchema schema, boolean isDefinedDirective, GraphQLDirectiveContainer container, java.util.List<GraphQLDirective> directives)
-
Uses of GraphQLDirective in graphql.schema
Fields in graphql.schema with type parameters of type GraphQLDirective Modifier and Type Field Description private java.util.Set<GraphQLDirective>
GraphQLSchema.Builder. additionalDirectives
protected java.util.List<GraphQLDirective>
GraphqlDirectivesContainerTypeBuilder. directives
(package private) java.util.Set<GraphQLDirective>
SchemaTransformer.DummyRoot. directives
private java.util.List<GraphQLDirective>
GraphQLSchema.Builder. schemaDirectives
(package private) java.util.Set<GraphQLDirective>
SchemaTransformer.DummyRoot. schemaDirectives
Methods in graphql.schema that return GraphQLDirective Modifier and Type Method Description GraphQLDirective
GraphQLDirective.Builder. build()
GraphQLDirective
GraphQLArgument. getDirective(java.lang.String directiveName)
GraphQLDirective
GraphQLDirectiveContainer. getDirective(java.lang.String directiveName)
Deprecated.- use theGraphQLAppliedDirective
methods insteadGraphQLDirective
GraphQLEnumType. getDirective(java.lang.String directiveName)
GraphQLDirective
GraphQLEnumValueDefinition. getDirective(java.lang.String directiveName)
GraphQLDirective
GraphQLFieldDefinition. getDirective(java.lang.String directiveName)
GraphQLDirective
GraphQLInputObjectField. getDirective(java.lang.String directiveName)
GraphQLDirective
GraphQLInputObjectType. getDirective(java.lang.String directiveName)
GraphQLDirective
GraphQLInterfaceType. getDirective(java.lang.String directiveName)
GraphQLDirective
GraphQLObjectType. getDirective(java.lang.String directiveName)
GraphQLDirective
GraphQLScalarType. getDirective(java.lang.String directiveName)
GraphQLDirective
GraphQLSchema. getDirective(java.lang.String directiveName)
Returns a named directive that (for legacy reasons) will be only in the set of non repeatable directivesGraphQLDirective
GraphQLUnionType. getDirective(java.lang.String directiveName)
GraphQLDirective
GraphQLSchema. getSchemaDirective(java.lang.String directiveName)
Deprecated.Use theGraphQLAppliedDirective
methods insteadprivate static GraphQLDirective[]
GraphQLSchema. schemaDirectivesArray(GraphQLSchema existingSchema)
GraphQLDirective
GraphQLDirective. transform(java.util.function.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.GraphQLDirective
GraphQLDirective. withNewChildren(SchemaElementChildrenContainer newChildren)
Methods in graphql.schema that return types with arguments of type GraphQLDirective Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
GraphQLArgument. getAllDirectivesByName()
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
GraphQLDirectiveContainer. getAllDirectivesByName()
Deprecated.- use theGraphQLAppliedDirective
methods insteadjava.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
GraphQLEnumType. getAllDirectivesByName()
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
GraphQLEnumValueDefinition. getAllDirectivesByName()
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
GraphQLFieldDefinition. getAllDirectivesByName()
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
GraphQLInputObjectField. getAllDirectivesByName()
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
GraphQLInputObjectType. getAllDirectivesByName()
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
GraphQLInterfaceType. getAllDirectivesByName()
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
GraphQLObjectType. getAllDirectivesByName()
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
GraphQLScalarType. getAllDirectivesByName()
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
GraphQLUnionType. getAllDirectivesByName()
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>
GraphQLSchema. getAllSchemaDirectivesByName()
Deprecated.Use theGraphQLAppliedDirective
methods insteadjava.util.List<GraphQLDirective>
GraphQLArgument. getDirectives()
java.util.List<GraphQLDirective>
GraphQLDirectiveContainer. getDirectives()
Deprecated.- use theGraphQLAppliedDirective
methods insteaddefault java.util.List<GraphQLDirective>
GraphQLDirectiveContainer. getDirectives(java.lang.String directiveName)
Deprecated.- use theGraphQLAppliedDirective
methods insteadjava.util.List<GraphQLDirective>
GraphQLEnumType. getDirectives()
java.util.List<GraphQLDirective>
GraphQLEnumValueDefinition. getDirectives()
java.util.List<GraphQLDirective>
GraphQLFieldDefinition. getDirectives()
java.util.List<GraphQLDirective>
GraphQLInputObjectField. getDirectives()
java.util.List<GraphQLDirective>
GraphQLInputObjectType. getDirectives()
java.util.List<GraphQLDirective>
GraphQLInterfaceType. getDirectives()
java.util.List<GraphQLDirective>
GraphQLObjectType. getDirectives()
java.util.List<GraphQLDirective>
GraphQLScalarType. getDirectives()
java.util.List<GraphQLDirective>
GraphQLSchema. getDirectives()
This returns the list of directives definitions that are associated with this schema object including built in ones.java.util.List<GraphQLDirective>
GraphQLUnionType. getDirectives()
java.util.Map<java.lang.String,GraphQLDirective>
GraphQLArgument. getDirectivesByName()
java.util.Map<java.lang.String,GraphQLDirective>
GraphQLDirectiveContainer. getDirectivesByName()
Deprecated.- use theGraphQLAppliedDirective
methods insteadjava.util.Map<java.lang.String,GraphQLDirective>
GraphQLEnumType. getDirectivesByName()
java.util.Map<java.lang.String,GraphQLDirective>
GraphQLEnumValueDefinition. getDirectivesByName()
java.util.Map<java.lang.String,GraphQLDirective>
GraphQLFieldDefinition. getDirectivesByName()
java.util.Map<java.lang.String,GraphQLDirective>
GraphQLInputObjectField. getDirectivesByName()
java.util.Map<java.lang.String,GraphQLDirective>
GraphQLInputObjectType. getDirectivesByName()
java.util.Map<java.lang.String,GraphQLDirective>
GraphQLInterfaceType. getDirectivesByName()
java.util.Map<java.lang.String,GraphQLDirective>
GraphQLObjectType. getDirectivesByName()
java.util.Map<java.lang.String,GraphQLDirective>
GraphQLScalarType. getDirectivesByName()
java.util.Map<java.lang.String,GraphQLDirective>
GraphQLSchema. getDirectivesByName()
java.util.Map<java.lang.String,GraphQLDirective>
GraphQLUnionType. getDirectivesByName()
java.util.Map<java.lang.String,GraphQLDirective>
GraphQLSchema. getSchemaDirectiveByName()
Deprecated.Use theGraphQLAppliedDirective
methods insteadjava.util.List<GraphQLDirective>
GraphQLSchema. getSchemaDirectives()
Deprecated.Use theGraphQLAppliedDirective
methods insteadjava.util.List<GraphQLDirective>
GraphQLSchema. getSchemaDirectives(java.lang.String directiveName)
Deprecated.Use theGraphQLAppliedDirective
methods insteadMethod parameters in graphql.schema with type arguments of type GraphQLDirective Modifier and Type Method Description GraphQLSchema.Builder
GraphQLSchema.Builder. additionalDirectives(java.util.Set<GraphQLDirective> additionalDirectives)
private boolean
GraphQLInputObjectType. hasOneOf(java.util.List<GraphQLDirective> directives, java.util.List<GraphQLAppliedDirective> appliedDirectives)
GraphQLArgument.Builder
GraphQLArgument.Builder. replaceDirectives(java.util.List<GraphQLDirective> directives)
B
GraphqlDirectivesContainerTypeBuilder. replaceDirectives(java.util.List<GraphQLDirective> directives)
Deprecated.- use theGraphQLAppliedDirective
methods insteadGraphQLEnumType.Builder
GraphQLEnumType.Builder. replaceDirectives(java.util.List<GraphQLDirective> directives)
GraphQLEnumValueDefinition.Builder
GraphQLEnumValueDefinition.Builder. replaceDirectives(java.util.List<GraphQLDirective> directives)
GraphQLFieldDefinition.Builder
GraphQLFieldDefinition.Builder. replaceDirectives(java.util.List<GraphQLDirective> directives)
GraphQLInputObjectField.Builder
GraphQLInputObjectField.Builder. replaceDirectives(java.util.List<GraphQLDirective> directives)
GraphQLInputObjectType.Builder
GraphQLInputObjectType.Builder. replaceDirectives(java.util.List<GraphQLDirective> directives)
GraphQLInterfaceType.Builder
GraphQLInterfaceType.Builder. replaceDirectives(java.util.List<GraphQLDirective> directives)
GraphQLObjectType.Builder
GraphQLObjectType.Builder. replaceDirectives(java.util.List<GraphQLDirective> directives)
GraphQLScalarType.Builder
GraphQLScalarType.Builder. replaceDirectives(java.util.List<GraphQLDirective> directives)
GraphQLUnionType.Builder
GraphQLUnionType.Builder. replaceDirectives(java.util.List<GraphQLDirective> directives)
GraphQLSchema.Builder
GraphQLSchema.Builder. withSchemaDirectives(java.util.Collection<? extends GraphQLDirective> directives)
Constructors in graphql.schema with parameters of type GraphQLDirective Constructor Description Builder(GraphQLDirective existing)
Constructor parameters in graphql.schema with type arguments of type GraphQLDirective Constructor Description GraphQLArgument(java.lang.String name, java.lang.String description, GraphQLInputType type, InputValueWithState defaultValue, InputValueWithState value, InputValueDefinition definition, java.util.List<GraphQLDirective> directives, java.util.List<GraphQLAppliedDirective> appliedDirectives, java.lang.String deprecationReason)
GraphQLEnumValueDefinition(java.lang.String name, java.lang.String description, java.lang.Object value, java.lang.String deprecationReason, java.util.List<GraphQLDirective> directives, java.util.List<GraphQLAppliedDirective> appliedDirectives, EnumValueDefinition definition)
GraphQLInputObjectField(java.lang.String name, java.lang.String description, GraphQLInputType type, InputValueWithState defaultValue, java.util.List<GraphQLDirective> directives, java.util.List<GraphQLAppliedDirective> appliedDirectives, InputValueDefinition definition, java.lang.String deprecationReason)
GraphQLScalarType(java.lang.String name, java.lang.String description, Coercing<?,?> coercing, java.util.List<GraphQLDirective> directives, java.util.List<GraphQLAppliedDirective> appliedDirectives, ScalarTypeDefinition definition, java.util.List<ScalarTypeExtensionDefinition> extensionDefinitions, java.lang.String specifiedByUrl)
-
Uses of GraphQLDirective in graphql.schema.diffing
Methods in graphql.schema.diffing with parameters of type GraphQLDirective Modifier and Type Method Description private void
SchemaGraphFactory. newDirective(GraphQLDirective directive, SchemaGraph schemaGraph)
Method parameters in graphql.schema.diffing with type arguments of type GraphQLDirective Modifier and Type Method Description private void
SchemaGraphFactory. createAppliedDirectives(Vertex from, java.util.List<GraphQLDirective> appliedDirectives, SchemaGraph schemaGraph)
-
Uses of GraphQLDirective in graphql.schema.idl
Fields in graphql.schema.idl declared as GraphQLDirective Modifier and Type Field Description private GraphQLDirective
SchemaDirectiveWiringEnvironmentImpl. registeredDirective
Fields in graphql.schema.idl with type parameters of type GraphQLDirective Modifier and Type Field Description private java.util.List<GraphQLDirective>
FieldWiringEnvironment. directives
private java.util.Map<java.lang.String,GraphQLDirective>
SchemaDirectiveWiringEnvironmentImpl. directives
private java.util.Set<GraphQLDirective>
SchemaGeneratorHelper.BuildContext. directives
static java.util.Map<java.lang.String,GraphQLDirective>
DirectiveInfo. GRAPHQL_SPECIFICATION_DIRECTIVE_MAP
A map from directive name to directive which provided by specificationstatic java.util.Set<GraphQLDirective>
DirectiveInfo. GRAPHQL_SPECIFICATION_DIRECTIVES
A set of directives which provided by graphql specificationMethods in graphql.schema.idl that return GraphQLDirective Modifier and Type Method Description (package private) static GraphQLDirective
SchemaGeneratorAppliedDirectiveHelper. buildDirectiveDefinitionFromAst(SchemaGeneratorHelper.BuildContext buildCtx, DirectiveDefinition directiveDefinition, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory)
GraphQLDirective
SchemaDirectiveWiringEnvironment. getDirective()
Deprecated.GraphQLDirective
SchemaDirectiveWiringEnvironment. getDirective(java.lang.String directiveName)
Deprecated.GraphQLDirective
SchemaDirectiveWiringEnvironmentImpl. getDirective()
GraphQLDirective
SchemaDirectiveWiringEnvironmentImpl. getDirective(java.lang.String directiveName)
Methods in graphql.schema.idl that return types with arguments of type GraphQLDirective Modifier and Type Method Description (package private) java.util.Set<GraphQLDirective>
SchemaGeneratorHelper. buildAdditionalDirectiveDefinitions(SchemaGeneratorHelper.BuildContext buildCtx)
private static Pair<GraphQLDirective,GraphQLAppliedDirective>
SchemaGeneratorAppliedDirectiveHelper. buildAppliedDirective(SchemaGeneratorHelper.BuildContext buildCtx, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory, Directive directive, java.util.Set<GraphQLDirective> directiveDefinitions, Introspection.DirectiveLocation directiveLocation, GraphqlTypeComparatorRegistry comparatorRegistry)
(package private) static Pair<java.util.List<GraphQLDirective>,java.util.List<GraphQLAppliedDirective>>
SchemaGeneratorAppliedDirectiveHelper. buildAppliedDirectives(SchemaGeneratorHelper.BuildContext buildCtx, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory, java.util.List<Directive> directives, java.util.List<Directive> extensionDirectives, Introspection.DirectiveLocation directiveLocation, java.util.Set<GraphQLDirective> runtimeDirectives, GraphqlTypeComparatorRegistry comparatorRegistry)
private SchemaPrinter.SchemaElementPrinter<GraphQLDirective>
SchemaPrinter. directivePrinter()
java.util.List<GraphQLDirective>
FieldWiringEnvironment. getDirectives()
java.util.Map<java.lang.String,GraphQLDirective>
SchemaDirectiveWiringEnvironment. getDirectives()
Deprecated.java.util.Map<java.lang.String,GraphQLDirective>
SchemaDirectiveWiringEnvironmentImpl. getDirectives()
java.util.Set<GraphQLDirective>
SchemaGeneratorHelper.BuildContext. getDirectives()
private java.util.List<GraphQLDirective>
SchemaPrinter. getSchemaDirectives(GraphQLSchema schema)
Methods in graphql.schema.idl with parameters of type GraphQLDirective Modifier and Type Method Description void
SchemaGeneratorHelper.BuildContext. addDirectiveDefinition(GraphQLDirective directive)
SchemaDirectiveWiringEnvironment<T>
SchemaGeneratorDirectiveHelper.EnvBuilder. apply(T outputElement, java.util.List<GraphQLDirective> allDirectives, java.util.List<GraphQLAppliedDirective> allAppliedDirectives, GraphQLAppliedDirective registeredAppliedDirective, GraphQLDirective registeredDirective)
private static GraphQLAppliedDirectiveArgument
SchemaGeneratorAppliedDirectiveHelper. buildAppliedArg(SchemaGeneratorHelper.BuildContext buildCtx, Argument arg, GraphQLDirective directiveDefinition)
private static GraphQLArgument
SchemaGeneratorAppliedDirectiveHelper. buildDirectiveArg(SchemaGeneratorHelper.BuildContext buildCtx, Argument arg, GraphQLDirective directiveDefinition)
private java.lang.String
SchemaPrinter. directiveDefinition(GraphQLDirective directive)
static boolean
DirectiveInfo. isGraphqlSpecifiedDirective(GraphQLDirective graphQLDirective)
Returns true if the provided directive has been defined in graphql specificationjava.lang.String
SchemaPrinter. print(GraphQLDirective graphQLDirective)
private static java.util.List<GraphQLAppliedDirectiveArgument>
SchemaGeneratorAppliedDirectiveHelper. transferMissingAppliedArguments(java.util.List<GraphQLAppliedDirectiveArgument> arguments, GraphQLDirective directiveDefinition)
private static java.util.List<GraphQLArgument>
SchemaGeneratorAppliedDirectiveHelper. transferMissingArguments(SchemaGeneratorHelper.BuildContext buildCtx, java.util.List<GraphQLArgument> arguments, GraphQLDirective directiveDefinition)
Method parameters in graphql.schema.idl with type arguments of type GraphQLDirective Modifier and Type Method Description void
SchemaGeneratorHelper.BuildContext. addDirectives(java.util.Set<GraphQLDirective> directives)
SchemaDirectiveWiringEnvironment<T>
SchemaGeneratorDirectiveHelper.EnvBuilder. apply(T outputElement, java.util.List<GraphQLDirective> allDirectives, java.util.List<GraphQLAppliedDirective> allAppliedDirectives, GraphQLAppliedDirective registeredAppliedDirective, GraphQLDirective registeredDirective)
private static Pair<GraphQLDirective,GraphQLAppliedDirective>
SchemaGeneratorAppliedDirectiveHelper. buildAppliedDirective(SchemaGeneratorHelper.BuildContext buildCtx, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory, Directive directive, java.util.Set<GraphQLDirective> directiveDefinitions, Introspection.DirectiveLocation directiveLocation, GraphqlTypeComparatorRegistry comparatorRegistry)
(package private) static void
SchemaGeneratorAppliedDirectiveHelper. buildAppliedDirectives(SchemaGeneratorHelper.BuildContext buildCtx, GraphqlDirectivesContainerTypeBuilder<?,?> builder, Pair<java.util.List<GraphQLDirective>,java.util.List<GraphQLAppliedDirective>> appliedDirectives)
(package private) static Pair<java.util.List<GraphQLDirective>,java.util.List<GraphQLAppliedDirective>>
SchemaGeneratorAppliedDirectiveHelper. buildAppliedDirectives(SchemaGeneratorHelper.BuildContext buildCtx, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory, java.util.List<Directive> directives, java.util.List<Directive> extensionDirectives, Introspection.DirectiveLocation directiveLocation, java.util.Set<GraphQLDirective> runtimeDirectives, GraphqlTypeComparatorRegistry comparatorRegistry)
private DataFetcherFactory<?>
SchemaGeneratorHelper. buildDataFetcherFactory(SchemaGeneratorHelper.BuildContext buildCtx, TypeDefinition<?> parentType, FieldDefinition fieldDef, GraphQLOutputType fieldType, java.util.List<GraphQLDirective> directives, java.util.List<GraphQLAppliedDirective> appliedDirectives)
private <T extends GraphQLDirectiveContainer>
TSchemaGeneratorDirectiveHelper. wireDirectives(SchemaGeneratorDirectiveHelper.Parameters parameters, T element, java.util.List<GraphQLDirective> allDirectives, java.util.List<GraphQLAppliedDirective> allAppliedDirectives, SchemaGeneratorDirectiveHelper.EnvBuilder<T> envBuilder, SchemaGeneratorDirectiveHelper.EnvInvoker<T> invoker)
Constructors in graphql.schema.idl with parameters of type GraphQLDirective Constructor Description SchemaDirectiveWiringEnvironmentImpl(T element, java.util.List<GraphQLDirective> directives, java.util.List<GraphQLAppliedDirective> appliedDirectives, GraphQLAppliedDirective registeredAppliedDirective, GraphQLDirective registeredDirective, SchemaGeneratorDirectiveHelper.Parameters parameters)
Constructor parameters in graphql.schema.idl with type arguments of type GraphQLDirective Constructor Description FieldWiringEnvironment(TypeDefinitionRegistry registry, TypeDefinition parentType, FieldDefinition fieldDefinition, GraphQLOutputType fieldType, java.util.List<GraphQLDirective> directives, java.util.List<GraphQLAppliedDirective> appliedDirectives)
SchemaDirectiveWiringEnvironmentImpl(T element, java.util.List<GraphQLDirective> directives, java.util.List<GraphQLAppliedDirective> appliedDirectives, GraphQLAppliedDirective registeredAppliedDirective, GraphQLDirective registeredDirective, SchemaGeneratorDirectiveHelper.Parameters parameters)
-
Uses of GraphQLDirective in graphql.schema.impl
Methods in graphql.schema.impl with parameters of type GraphQLDirective Modifier and Type Method Description TraversalControl
MultiReadOnlyGraphQLTypeVisitor. visitGraphQLDirective(GraphQLDirective node, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLDirective in graphql.schema.validation
Methods in graphql.schema.validation with parameters of type GraphQLDirective Modifier and Type Method Description private void
AppliedDirectiveArgumentsAreValid. checkArgument(GraphQLDirective directive, GraphQLArgument argument, TraverserContext<GraphQLSchemaElement> context)
private void
AppliedDirectivesAreValid. checkNonRepeatable(SchemaValidationErrorCollector collector, GraphQLDirectiveContainer directiveContainer, GraphQLDirective directiveDef, java.util.List<GraphQLDirective> directives)
TraversalControl
AppliedDirectiveArgumentsAreValid. visitGraphQLDirective(GraphQLDirective directive, TraverserContext<GraphQLSchemaElement> context)
Method parameters in graphql.schema.validation with type arguments of type GraphQLDirective Modifier and Type Method Description private void
AppliedDirectivesAreValid. checkNonRepeatable(SchemaValidationErrorCollector collector, GraphQLDirectiveContainer directiveContainer, GraphQLDirective directiveDef, java.util.List<GraphQLDirective> directives)
-
Uses of GraphQLDirective in graphql.schema.visitor
Methods in graphql.schema.visitor with parameters of type GraphQLDirective Modifier and Type Method Description default GraphQLSchemaTraversalControl
GraphQLSchemaVisitor. visitDirective(GraphQLDirective directive, GraphQLSchemaVisitor.DirectiveVisitorEnvironment environment)
Called when visiting aGraphQLArgument
in the schemaTraversalControl
GraphQLSchemaVisitorAdapter. visitGraphQLDirective(GraphQLDirective node, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLDirective in graphql.validation
Fields in graphql.validation declared as GraphQLDirective Modifier and Type Field Description private GraphQLDirective
TraversalContext. directive
Methods in graphql.validation that return GraphQLDirective Modifier and Type Method Description GraphQLDirective
TraversalContext. getDirective()
GraphQLDirective
ValidationContext. getDirective()
-
Uses of GraphQLDirective in graphql.validation.rules
Methods in graphql.validation.rules with parameters of type GraphQLDirective Modifier and Type Method Description private boolean
KnownDirectives. hasInvalidLocation(GraphQLDirective directive, Node ancestor)
-