Uses of Class
graphql.language.Directive
Packages that use Directive
Package
Description
-
Uses of Directive in graphql.analysis
Methods in graphql.analysis with parameters of type DirectiveModifier and TypeMethodDescriptionNodeVisitorWithTypeTracking.visitDirective(Directive node, TraverserContext<Node> context) -
Uses of Directive in graphql.execution.conditional
Methods in graphql.execution.conditional that return types with arguments of type DirectiveMethod parameters in graphql.execution.conditional with type arguments of type Directive -
Uses of Directive in graphql.execution.directives
Fields in graphql.execution.directives declared as DirectiveModifier and TypeFieldDescriptionprivate DirectiveQueryAppliedDirective.Builder.definitionprivate final DirectiveQueryAppliedDirective.definitionMethods in graphql.execution.directives that return DirectiveMethods in graphql.execution.directives with parameters of type DirectiveModifier and TypeMethodDescriptionprivate voidDirectivesResolver.buildArguments(GraphQLDirective.Builder directiveBuilder, GraphQLCodeRegistry codeRegistry, GraphQLDirective protoType, Directive fieldDirective, Map<String, Object> variables, GraphQLContext graphQLContext, Locale locale) QueryAppliedDirective.Builder.definition(Directive definition) Method parameters in graphql.execution.directives with type arguments of type DirectiveModifier and TypeMethodDescriptionDirectivesResolver.resolveDirectives(List<Directive> directives, GraphQLSchema schema, Map<String, Object> variables, GraphQLContext graphQLContext, Locale locale) Constructors in graphql.execution.directives with parameters of type DirectiveModifierConstructorDescriptionprivateQueryAppliedDirective(String name, Directive definition, Collection<QueryAppliedDirectiveArgument> arguments) -
Uses of Directive in graphql.language
Fields in graphql.language with type parameters of type DirectiveModifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableList<Directive> EnumTypeDefinition.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> EnumTypeDefinition.directivesprivate com.google.common.collect.ImmutableList<Directive> EnumTypeExtensionDefinition.Builder.directivesprivate com.google.common.collect.ImmutableList<Directive> EnumValueDefinition.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> EnumValueDefinition.directivesprivate com.google.common.collect.ImmutableList<Directive> Field.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> Field.directivesprivate com.google.common.collect.ImmutableList<Directive> FieldDefinition.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> FieldDefinition.directivesprivate com.google.common.collect.ImmutableList<Directive> FragmentDefinition.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> FragmentDefinition.directivesprivate com.google.common.collect.ImmutableList<Directive> FragmentSpread.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> FragmentSpread.directivesprivate com.google.common.collect.ImmutableList<Directive> InlineFragment.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> InlineFragment.directivesprivate com.google.common.collect.ImmutableList<Directive> InputObjectTypeDefinition.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> InputObjectTypeDefinition.directivesprivate com.google.common.collect.ImmutableList<Directive> InputObjectTypeExtensionDefinition.Builder.directivesprivate com.google.common.collect.ImmutableList<Directive> InputValueDefinition.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> InputValueDefinition.directivesprivate com.google.common.collect.ImmutableList<Directive> InterfaceTypeDefinition.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> InterfaceTypeDefinition.directivesprivate com.google.common.collect.ImmutableList<Directive> InterfaceTypeExtensionDefinition.Builder.directivesprivate com.google.common.collect.ImmutableList<Directive> ObjectTypeDefinition.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> ObjectTypeDefinition.directivesprivate com.google.common.collect.ImmutableList<Directive> ObjectTypeExtensionDefinition.Builder.directivesprivate com.google.common.collect.ImmutableList<Directive> OperationDefinition.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> OperationDefinition.directivesprivate com.google.common.collect.ImmutableList<Directive> ScalarTypeDefinition.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> ScalarTypeDefinition.directivesprivate com.google.common.collect.ImmutableList<Directive> ScalarTypeExtensionDefinition.Builder.directivesprivate com.google.common.collect.ImmutableList<Directive> SchemaDefinition.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> SchemaDefinition.directivesprivate com.google.common.collect.ImmutableList<Directive> SchemaExtensionDefinition.Builder.directivesprivate com.google.common.collect.ImmutableList<Directive> UnionTypeDefinition.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> UnionTypeDefinition.directivesprivate com.google.common.collect.ImmutableList<Directive> UnionTypeExtensionDefinition.Builder.directivesprivate com.google.common.collect.ImmutableList<Directive> VariableDefinition.Builder.directivesprivate final com.google.common.collect.ImmutableList<Directive> VariableDefinition.directivesMethods in graphql.language that return DirectiveModifier and TypeMethodDescriptionDirective.Builder.build()Directive.deepCopy()Directive.transform(Consumer<Directive.Builder> builderConsumer) Directive.withNewChildren(NodeChildrenContainer newChildren) Methods in graphql.language that return types with arguments of type DirectiveModifier and TypeMethodDescriptionNodeUtil.allDirectivesByName(List<Directive> directives) private AstPrinter.NodePrinter<Directive> AstPrinter.directive()DirectivesContainer.getDirectives()This will return a list of all the directives that have been put onNodeas a flat list, which may contain repeatable and non repeatable directives.DirectivesContainer.getDirectives(String directiveName) Returns all of the directives with the provided name, including repeatable and non repeatable directives.EnumTypeDefinition.getDirectives()EnumValueDefinition.getDirectives()Field.getDirectives()FieldDefinition.getDirectives()FragmentDefinition.getDirectives()FragmentSpread.getDirectives()InlineFragment.getDirectives()InputObjectTypeDefinition.getDirectives()InputValueDefinition.getDirectives()InterfaceTypeDefinition.getDirectives()ObjectTypeDefinition.getDirectives()OperationDefinition.getDirectives()ScalarTypeDefinition.getDirectives()SchemaDefinition.getDirectives()UnionTypeDefinition.getDirectives()VariableDefinition.getDirectives()DirectivesContainer.getDirectivesByName()This will return a Map of the all directives that are associated with aNode, including both repeatable and non repeatable directives.Methods in graphql.language with parameters of type DirectiveModifier and TypeMethodDescriptionNodeVisitor.visitDirective(Directive node, TraverserContext<Node> data) NodeVisitorStub.visitDirective(Directive node, TraverserContext<Node> context) Method parameters in graphql.language with type arguments of type DirectiveModifier and TypeMethodDescriptionNodeUtil.allDirectivesByName(List<Directive> directives) private StringAstPrinter.directives(List<Directive> directives) EnumTypeDefinition.Builder.directives(List<Directive> directives) EnumTypeExtensionDefinition.Builder.directives(List<Directive> directives) EnumValueDefinition.Builder.directives(List<Directive> directives) Field.Builder.directives(List<Directive> directives) FieldDefinition.Builder.directives(List<Directive> directives) FragmentDefinition.Builder.directives(List<Directive> directives) FragmentSpread.Builder.directives(List<Directive> directives) InlineFragment.Builder.directives(List<Directive> directives) InputObjectTypeDefinition.Builder.directives(List<Directive> directives) InputObjectTypeExtensionDefinition.Builder.directives(List<Directive> directives) InputValueDefinition.Builder.directives(List<Directive> directives) InterfaceTypeDefinition.Builder.directives(List<Directive> directives) InterfaceTypeExtensionDefinition.Builder.directives(List<Directive> directives) NodeDirectivesBuilder.directives(List<Directive> directives) ObjectTypeDefinition.Builder.directives(List<Directive> directives) ObjectTypeExtensionDefinition.Builder.directives(List<Directive> directives) OperationDefinition.Builder.directives(List<Directive> directives) private StringPrettyAstPrinter.directives(List<Directive> directives) ScalarTypeDefinition.Builder.directives(List<Directive> directives) ScalarTypeExtensionDefinition.Builder.directives(List<Directive> directives) SchemaDefinition.Builder.directives(List<Directive> directives) SchemaExtensionDefinition.Builder.directives(List<Directive> directives) UnionTypeDefinition.Builder.directives(List<Directive> directives) UnionTypeExtensionDefinition.Builder.directives(List<Directive> directives) VariableDefinition.Builder.directives(List<Directive> directives) Constructors in graphql.language with parameters of type DirectiveConstructor parameters in graphql.language with type arguments of type DirectiveModifierConstructorDescriptionEnumValueDefinition(String name, List<Directive> directives) alternative to using a Builder for convenienceprotectedEnumValueDefinition(String name, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedFragmentDefinition(String name, TypeName typeCondition, List<Directive> directives, SelectionSet selectionSet, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedFragmentSpread(String name, List<Directive> directives, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedInlineFragment(TypeName typeCondition, List<Directive> directives, SelectionSet selectionSet, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedInputObjectTypeDefinition(String name, List<Directive> directives, List<InputValueDefinition> inputValueDefinitions, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedInputObjectTypeExtensionDefinition(String name, List<Directive> directives, List<InputValueDefinition> inputValueDefinitions, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedInputValueDefinition(String name, Type type, Value defaultValue, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedScalarTypeDefinition(String name, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedScalarTypeExtensionDefinition(String name, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedSchemaDefinition(List<Directive> directives, List<OperationTypeDefinition> operationTypeDefinitions, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData, Description description) protectedSchemaExtensionDefinition(List<Directive> directives, List<OperationTypeDefinition> operationTypeDefinitions, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) UnionTypeDefinition(String name, List<Directive> directives) alternative to using a Builder for convenienceprotectedUnionTypeDefinition(String name, List<Directive> directives, List<Type> memberTypes, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedUnionTypeExtensionDefinition(String name, List<Directive> directives, List<Type> memberTypes, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedVariableDefinition(String name, Type type, Value defaultValue, List<Directive> directives, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) -
Uses of Directive in graphql.parser
Methods in graphql.parser that return DirectiveModifier and TypeMethodDescriptionprotected DirectiveGraphqlAntlrToLanguage.createDirective(GraphqlParser.DirectiveContext ctx) Methods in graphql.parser that return types with arguments of type DirectiveModifier and TypeMethodDescriptionGraphqlAntlrToLanguage.createDirectives(GraphqlParser.DirectivesContext ctx) -
Uses of Directive in graphql.schema
Fields in graphql.schema declared as DirectiveModifier and TypeFieldDescriptionprivate DirectiveGraphQLAppliedDirective.Builder.definitionprivate final DirectiveGraphQLAppliedDirective.definitionMethods in graphql.schema that return DirectiveMethods in graphql.schema with parameters of type DirectiveModifier and TypeMethodDescriptionGraphQLAppliedDirective.Builder.definition(Directive definition) Constructors in graphql.schema with parameters of type DirectiveModifierConstructorDescriptionprivateGraphQLAppliedDirective(String name, Directive definition, List<GraphQLAppliedDirectiveArgument> arguments) -
Uses of Directive in graphql.schema.diff
Method parameters in graphql.schema.diff with type arguments of type DirectiveModifier and TypeMethodDescription(package private) voidSchemaDiff.checkDirectives(DiffCtx ctx, TypeDefinition old, List<Directive> oldDirectives, List<Directive> newDirectives) -
Uses of Directive in graphql.schema.idl
Fields in graphql.schema.idl declared as DirectiveMethods in graphql.schema.idl that return types with arguments of type DirectiveModifier and TypeMethodDescriptionSchemaGeneratorHelper.directivesOf(List<? extends TypeDefinition<?>> typeDefinitions) SchemaExtensionsChecker.gatherSchemaDirectives(TypeDefinitionRegistry typeRegistry) SchemaExtensionsChecker.gatherSchemaDirectives(TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors) Methods in graphql.schema.idl with parameters of type DirectiveModifier and TypeMethodDescriptionprivate static Pair<GraphQLDirective, GraphQLAppliedDirective> SchemaGeneratorAppliedDirectiveHelper.buildAppliedDirective(SchemaGeneratorHelper.BuildContext buildCtx, Function<Type<?>, GraphQLInputType> inputTypeFactory, Directive directive, Set<GraphQLDirective> directiveDefinitions, Introspection.DirectiveLocation directiveLocation, GraphqlTypeComparatorRegistry comparatorRegistry) private voidSchemaTypeDirectivesChecker.checkDirectiveArguments(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, Node element, String elementName, Directive directive, DirectiveDefinition directiveDefinition) Method parameters in graphql.schema.idl with type arguments of type DirectiveModifier and TypeMethodDescription(package private) static Pair<List<GraphQLDirective>, List<GraphQLAppliedDirective>> SchemaGeneratorAppliedDirectiveHelper.buildAppliedDirectives(SchemaGeneratorHelper.BuildContext buildCtx, Function<Type<?>, GraphQLInputType> inputTypeFactory, List<Directive> directives, List<Directive> extensionDirectives, Introspection.DirectiveLocation directiveLocation, Set<GraphQLDirective> runtimeDirectives, GraphqlTypeComparatorRegistry comparatorRegistry) (package private) static StringSchemaGeneratorAppliedDirectiveHelper.buildDeprecationReason(List<Directive> directives) (package private) StringSchemaGeneratorHelper.buildDeprecationReason(List<Directive> directives) Constructors in graphql.schema.idl with parameters of type DirectiveModifierConstructorDescription(package private)ArgValueOfAllowedTypeChecker(Directive directive, Node<?> element, String elementName, Argument argument, TypeDefinitionRegistry typeRegistry, RuntimeWiring runtimeWiring) -
Uses of Directive in graphql.schema.idl.errors
Constructors in graphql.schema.idl.errors with parameters of type DirectiveModifierConstructorDescriptionTypeExtensionDirectiveRedefinitionError(TypeDefinition typeExtensionDefinition, Directive directive) -
Uses of Directive in graphql.validation
Methods in graphql.validation with parameters of type DirectiveModifier and TypeMethodDescriptionvoidAbstractRule.checkDirective(Directive directive, List<Node> ancestors) private voidRulesVisitor.checkDirective(Directive node, List<Node> ancestors) private void -
Uses of Directive in graphql.validation.rules
Methods in graphql.validation.rules with parameters of type DirectiveModifier and TypeMethodDescriptionvoidKnownDirectives.checkDirective(Directive directive, List<Node> ancestors) voidProvidedNonNullArguments.checkDirective(Directive directive, List<Node> ancestors) voidUniqueArgumentNames.checkDirective(Directive directive, List<Node> ancestors) Method parameters in graphql.validation.rules with type arguments of type DirectiveModifier and TypeMethodDescriptionprivate voidUniqueDirectiveNamesPerLocation.checkDirectivesUniqueness(Node<?> directivesContainer, List<Directive> directives)