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 Directive
QueryAppliedDirective.Builder.definition
private final Directive
QueryAppliedDirective.definition
Methods in graphql.execution.directives that return DirectiveMethods in graphql.execution.directives with parameters of type DirectiveModifier and TypeMethodDescriptionprivate void
DirectivesResolver.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 DirectiveModifierConstructorDescriptionprivate
QueryAppliedDirective
(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.directives
private final com.google.common.collect.ImmutableList
<Directive> EnumTypeDefinition.directives
private com.google.common.collect.ImmutableList
<Directive> EnumTypeExtensionDefinition.Builder.directives
private com.google.common.collect.ImmutableList
<Directive> EnumValueDefinition.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> EnumValueDefinition.directives
private com.google.common.collect.ImmutableList
<Directive> Field.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> Field.directives
private com.google.common.collect.ImmutableList
<Directive> FieldDefinition.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> FieldDefinition.directives
private com.google.common.collect.ImmutableList
<Directive> FragmentDefinition.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> FragmentDefinition.directives
private com.google.common.collect.ImmutableList
<Directive> FragmentSpread.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> FragmentSpread.directives
private com.google.common.collect.ImmutableList
<Directive> InlineFragment.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> InlineFragment.directives
private com.google.common.collect.ImmutableList
<Directive> InputObjectTypeDefinition.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> InputObjectTypeDefinition.directives
private com.google.common.collect.ImmutableList
<Directive> InputObjectTypeExtensionDefinition.Builder.directives
private com.google.common.collect.ImmutableList
<Directive> InputValueDefinition.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> InputValueDefinition.directives
private com.google.common.collect.ImmutableList
<Directive> InterfaceTypeDefinition.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> InterfaceTypeDefinition.directives
private com.google.common.collect.ImmutableList
<Directive> InterfaceTypeExtensionDefinition.Builder.directives
private com.google.common.collect.ImmutableList
<Directive> ObjectTypeDefinition.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> ObjectTypeDefinition.directives
private com.google.common.collect.ImmutableList
<Directive> ObjectTypeExtensionDefinition.Builder.directives
private com.google.common.collect.ImmutableList
<Directive> OperationDefinition.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> OperationDefinition.directives
private com.google.common.collect.ImmutableList
<Directive> ScalarTypeDefinition.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> ScalarTypeDefinition.directives
private com.google.common.collect.ImmutableList
<Directive> ScalarTypeExtensionDefinition.Builder.directives
private com.google.common.collect.ImmutableList
<Directive> SchemaDefinition.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> SchemaDefinition.directives
private com.google.common.collect.ImmutableList
<Directive> SchemaExtensionDefinition.Builder.directives
private com.google.common.collect.ImmutableList
<Directive> UnionTypeDefinition.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> UnionTypeDefinition.directives
private com.google.common.collect.ImmutableList
<Directive> UnionTypeExtensionDefinition.Builder.directives
private com.google.common.collect.ImmutableList
<Directive> VariableDefinition.Builder.directives
private final com.google.common.collect.ImmutableList
<Directive> VariableDefinition.directives
Methods 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 onNode
as 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 String
AstPrinter.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 String
PrettyAstPrinter.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 convenienceprotected
EnumValueDefinition
(String name, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
FragmentDefinition
(String name, TypeName typeCondition, List<Directive> directives, SelectionSet selectionSet, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
FragmentSpread
(String name, List<Directive> directives, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
InlineFragment
(TypeName typeCondition, List<Directive> directives, SelectionSet selectionSet, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
InputObjectTypeDefinition
(String name, List<Directive> directives, List<InputValueDefinition> inputValueDefinitions, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
InputObjectTypeExtensionDefinition
(String name, List<Directive> directives, List<InputValueDefinition> inputValueDefinitions, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
InputValueDefinition
(String name, Type type, Value defaultValue, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
ScalarTypeDefinition
(String name, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
ScalarTypeExtensionDefinition
(String name, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
SchemaDefinition
(List<Directive> directives, List<OperationTypeDefinition> operationTypeDefinitions, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData, Description description) protected
SchemaExtensionDefinition
(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 convenienceprotected
UnionTypeDefinition
(String name, List<Directive> directives, List<Type> memberTypes, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
UnionTypeExtensionDefinition
(String name, List<Directive> directives, List<Type> memberTypes, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
VariableDefinition
(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 Directive
GraphqlAntlrToLanguage.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 Directive
GraphQLAppliedDirective.Builder.definition
private final Directive
GraphQLAppliedDirective.definition
Methods 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 DirectiveModifierConstructorDescriptionprivate
GraphQLAppliedDirective
(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) void
SchemaDiff.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 void
SchemaTypeDirectivesChecker.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 String
SchemaGeneratorAppliedDirectiveHelper.buildDeprecationReason
(List<Directive> directives) (package private) String
SchemaGeneratorHelper.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 TypeMethodDescriptionvoid
AbstractRule.checkDirective
(Directive directive, List<Node> ancestors) private void
RulesVisitor.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 TypeMethodDescriptionvoid
KnownDirectives.checkDirective
(Directive directive, List<Node> ancestors) void
ProvidedNonNullArguments.checkDirective
(Directive directive, List<Node> ancestors) void
UniqueArgumentNames.checkDirective
(Directive directive, List<Node> ancestors) Method parameters in graphql.validation.rules with type arguments of type DirectiveModifier and TypeMethodDescriptionprivate void
UniqueDirectiveNamesPerLocation.checkDirectivesUniqueness
(Node<?> directivesContainer, List<Directive> directives)