Uses of Class
graphql.language.Directive
-
-
Uses of Directive in graphql.analysis
Methods in graphql.analysis with parameters of type Directive Modifier and Type Method Description TraversalControl
NodeVisitorWithTypeTracking. 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 Directive Modifier and Type Method Description default java.util.List<Directive>
ConditionalNodeDecisionEnvironment. getDirectives()
Method parameters in graphql.execution.conditional with type arguments of type Directive Modifier and Type Method Description private boolean
ConditionalNodes. getDirectiveResult(java.util.Map<java.lang.String,java.lang.Object> variables, java.util.List<Directive> directives, java.lang.String directiveName, boolean defaultValue)
private boolean
ConditionalNodes. shouldInclude(java.util.Map<java.lang.String,java.lang.Object> variables, java.util.List<Directive> directives)
-
Uses of Directive in graphql.execution.directives
Fields in graphql.execution.directives declared as Directive Modifier and Type Field Description private Directive
QueryAppliedDirective.Builder. definition
private Directive
QueryAppliedDirective. definition
Methods in graphql.execution.directives that return Directive Modifier and Type Method Description @Nullable Directive
QueryAppliedDirective. getDefinition()
Methods in graphql.execution.directives with parameters of type Directive 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)
QueryAppliedDirective.Builder
QueryAppliedDirective.Builder. definition(Directive definition)
Method parameters in graphql.execution.directives with type arguments of type Directive Modifier and Type Method Description 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)
Constructors in graphql.execution.directives with parameters of type Directive Constructor Description QueryAppliedDirective(java.lang.String name, Directive definition, java.util.Collection<QueryAppliedDirectiveArgument> arguments)
-
Uses of Directive in graphql.language
Fields in graphql.language with type parameters of type Directive Modifier and Type Field Description private com.google.common.collect.ImmutableList<Directive>
EnumTypeDefinition.Builder. directives
private 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 com.google.common.collect.ImmutableList<Directive>
EnumValueDefinition. directives
private com.google.common.collect.ImmutableList<Directive>
Field.Builder. directives
private com.google.common.collect.ImmutableList<Directive>
Field. directives
private com.google.common.collect.ImmutableList<Directive>
FieldDefinition.Builder. directives
private com.google.common.collect.ImmutableList<Directive>
FieldDefinition. directives
private com.google.common.collect.ImmutableList<Directive>
FragmentDefinition.Builder. directives
private com.google.common.collect.ImmutableList<Directive>
FragmentDefinition. directives
private com.google.common.collect.ImmutableList<Directive>
FragmentSpread.Builder. directives
private com.google.common.collect.ImmutableList<Directive>
FragmentSpread. directives
private com.google.common.collect.ImmutableList<Directive>
InlineFragment.Builder. directives
private com.google.common.collect.ImmutableList<Directive>
InlineFragment. directives
private com.google.common.collect.ImmutableList<Directive>
InputObjectTypeDefinition.Builder. directives
private 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 com.google.common.collect.ImmutableList<Directive>
InputValueDefinition. directives
private com.google.common.collect.ImmutableList<Directive>
InterfaceTypeDefinition.Builder. directives
private 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 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 com.google.common.collect.ImmutableList<Directive>
OperationDefinition. directives
private com.google.common.collect.ImmutableList<Directive>
ScalarTypeDefinition.Builder. directives
private 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 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 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 com.google.common.collect.ImmutableList<Directive>
VariableDefinition. directives
Methods in graphql.language that return Directive Modifier and Type Method Description Directive
Directive.Builder. build()
Directive
Directive. deepCopy()
Directive
Directive. transform(java.util.function.Consumer<Directive.Builder> builderConsumer)
Directive
Directive. withNewChildren(NodeChildrenContainer newChildren)
Methods in graphql.language that return types with arguments of type Directive Modifier and Type Method Description static java.util.Map<java.lang.String,com.google.common.collect.ImmutableList<Directive>>
NodeUtil. allDirectivesByName(java.util.List<Directive> directives)
private AstPrinter.NodePrinter<Directive>
AstPrinter. directive()
java.util.List<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.default java.util.List<Directive>
DirectivesContainer. getDirectives(java.lang.String directiveName)
Returns all of the directives with the provided name, including repeatable and non repeatable directives.java.util.List<Directive>
EnumTypeDefinition. getDirectives()
java.util.List<Directive>
EnumValueDefinition. getDirectives()
java.util.List<Directive>
Field. getDirectives()
java.util.List<Directive>
FieldDefinition. getDirectives()
java.util.List<Directive>
FragmentDefinition. getDirectives()
java.util.List<Directive>
FragmentSpread. getDirectives()
java.util.List<Directive>
InlineFragment. getDirectives()
java.util.List<Directive>
InputObjectTypeDefinition. getDirectives()
java.util.List<Directive>
InputValueDefinition. getDirectives()
java.util.List<Directive>
InterfaceTypeDefinition. getDirectives()
java.util.List<Directive>
ObjectTypeDefinition. getDirectives()
java.util.List<Directive>
OperationDefinition. getDirectives()
java.util.List<Directive>
ScalarTypeDefinition. getDirectives()
java.util.List<Directive>
SchemaDefinition. getDirectives()
java.util.List<Directive>
UnionTypeDefinition. getDirectives()
java.util.List<Directive>
VariableDefinition. getDirectives()
default java.util.Map<java.lang.String,java.util.List<Directive>>
DirectivesContainer. getDirectivesByName()
This will return a Map of the all directives that are associated with aNode
, including both repeatable and non repeatable directives.Method parameters in graphql.language with type arguments of type Directive Modifier and Type Method Description static java.util.Map<java.lang.String,com.google.common.collect.ImmutableList<Directive>>
NodeUtil. allDirectivesByName(java.util.List<Directive> directives)
private java.lang.String
AstPrinter. directives(java.util.List<Directive> directives)
EnumTypeDefinition.Builder
EnumTypeDefinition.Builder. directives(java.util.List<Directive> directives)
EnumTypeExtensionDefinition.Builder
EnumTypeExtensionDefinition.Builder. directives(java.util.List<Directive> directives)
EnumValueDefinition.Builder
EnumValueDefinition.Builder. directives(java.util.List<Directive> directives)
Field.Builder
Field.Builder. directives(java.util.List<Directive> directives)
FieldDefinition.Builder
FieldDefinition.Builder. directives(java.util.List<Directive> directives)
FragmentDefinition.Builder
FragmentDefinition.Builder. directives(java.util.List<Directive> directives)
FragmentSpread.Builder
FragmentSpread.Builder. directives(java.util.List<Directive> directives)
InlineFragment.Builder
InlineFragment.Builder. directives(java.util.List<Directive> directives)
InputObjectTypeDefinition.Builder
InputObjectTypeDefinition.Builder. directives(java.util.List<Directive> directives)
InputObjectTypeExtensionDefinition.Builder
InputObjectTypeExtensionDefinition.Builder. directives(java.util.List<Directive> directives)
InputValueDefinition.Builder
InputValueDefinition.Builder. directives(java.util.List<Directive> directives)
InterfaceTypeDefinition.Builder
InterfaceTypeDefinition.Builder. directives(java.util.List<Directive> directives)
InterfaceTypeExtensionDefinition.Builder
InterfaceTypeExtensionDefinition.Builder. directives(java.util.List<Directive> directives)
NodeDirectivesBuilder
NodeDirectivesBuilder. directives(java.util.List<Directive> directives)
ObjectTypeDefinition.Builder
ObjectTypeDefinition.Builder. directives(java.util.List<Directive> directives)
ObjectTypeExtensionDefinition.Builder
ObjectTypeExtensionDefinition.Builder. directives(java.util.List<Directive> directives)
OperationDefinition.Builder
OperationDefinition.Builder. directives(java.util.List<Directive> directives)
private java.lang.String
PrettyAstPrinter. directives(java.util.List<Directive> directives)
ScalarTypeDefinition.Builder
ScalarTypeDefinition.Builder. directives(java.util.List<Directive> directives)
ScalarTypeExtensionDefinition.Builder
ScalarTypeExtensionDefinition.Builder. directives(java.util.List<Directive> directives)
SchemaDefinition.Builder
SchemaDefinition.Builder. directives(java.util.List<Directive> directives)
SchemaExtensionDefinition.Builder
SchemaExtensionDefinition.Builder. directives(java.util.List<Directive> directives)
UnionTypeDefinition.Builder
UnionTypeDefinition.Builder. directives(java.util.List<Directive> directives)
UnionTypeExtensionDefinition.Builder
UnionTypeExtensionDefinition.Builder. directives(java.util.List<Directive> directives)
VariableDefinition.Builder
VariableDefinition.Builder. directives(java.util.List<Directive> directives)
Constructors in graphql.language with parameters of type Directive Constructor Description Builder(Directive existing)
Constructor parameters in graphql.language with type arguments of type Directive Constructor Description EnumValueDefinition(java.lang.String name, java.util.List<Directive> directives)
alternative to using a Builder for convenienceEnumValueDefinition(java.lang.String name, java.util.List<Directive> directives, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
FragmentDefinition(java.lang.String name, TypeName typeCondition, java.util.List<Directive> directives, SelectionSet selectionSet, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
FragmentSpread(java.lang.String name, java.util.List<Directive> directives, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
InlineFragment(TypeName typeCondition, java.util.List<Directive> directives, SelectionSet selectionSet, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
InputObjectTypeDefinition(java.lang.String name, java.util.List<Directive> directives, java.util.List<InputValueDefinition> inputValueDefinitions, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
InputObjectTypeExtensionDefinition(java.lang.String name, java.util.List<Directive> directives, java.util.List<InputValueDefinition> inputValueDefinitions, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
InputValueDefinition(java.lang.String name, Type type, Value defaultValue, java.util.List<Directive> directives, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
ScalarTypeDefinition(java.lang.String name, java.util.List<Directive> directives, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
ScalarTypeExtensionDefinition(java.lang.String name, java.util.List<Directive> directives, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
SchemaDefinition(java.util.List<Directive> directives, java.util.List<OperationTypeDefinition> operationTypeDefinitions, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData, Description description)
SchemaExtensionDefinition(java.util.List<Directive> directives, java.util.List<OperationTypeDefinition> operationTypeDefinitions, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
UnionTypeDefinition(java.lang.String name, java.util.List<Directive> directives)
alternative to using a Builder for convenienceUnionTypeDefinition(java.lang.String name, java.util.List<Directive> directives, java.util.List<Type> memberTypes, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
UnionTypeExtensionDefinition(java.lang.String name, java.util.List<Directive> directives, java.util.List<Type> memberTypes, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
VariableDefinition(java.lang.String name, Type type, Value defaultValue, java.util.List<Directive> directives, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
-
Uses of Directive in graphql.parser
Methods in graphql.parser that return Directive Modifier and Type Method Description protected Directive
GraphqlAntlrToLanguage. createDirective(GraphqlParser.DirectiveContext ctx)
Methods in graphql.parser that return types with arguments of type Directive Modifier and Type Method Description protected java.util.List<Directive>
GraphqlAntlrToLanguage. createDirectives(GraphqlParser.DirectivesContext ctx)
-
Uses of Directive in graphql.schema
Fields in graphql.schema declared as Directive Modifier and Type Field Description private Directive
GraphQLAppliedDirective.Builder. definition
private Directive
GraphQLAppliedDirective. definition
Methods in graphql.schema that return Directive Modifier and Type Method Description Directive
GraphQLAppliedDirective. getDefinition()
Methods in graphql.schema with parameters of type Directive Modifier and Type Method Description GraphQLAppliedDirective.Builder
GraphQLAppliedDirective.Builder. definition(Directive definition)
Constructors in graphql.schema with parameters of type Directive Constructor Description GraphQLAppliedDirective(java.lang.String name, Directive definition, java.util.List<GraphQLAppliedDirectiveArgument> arguments)
-
Uses of Directive in graphql.schema.diff
Method parameters in graphql.schema.diff with type arguments of type Directive Modifier and Type Method Description (package private) void
SchemaDiff. checkDirectives(DiffCtx ctx, TypeDefinition old, java.util.List<Directive> oldDirectives, java.util.List<Directive> newDirectives)
-
Uses of Directive in graphql.schema.idl
Fields in graphql.schema.idl declared as Directive Modifier and Type Field Description private Directive
ArgValueOfAllowedTypeChecker. directive
Methods in graphql.schema.idl that return types with arguments of type Directive Modifier and Type Method Description private java.util.List<Directive>
SchemaGeneratorHelper. directivesOf(java.util.List<? extends TypeDefinition<?>> typeDefinitions)
(package private) static java.util.List<Directive>
SchemaExtensionsChecker. gatherSchemaDirectives(TypeDefinitionRegistry typeRegistry)
(package private) static java.util.List<Directive>
SchemaExtensionsChecker. gatherSchemaDirectives(TypeDefinitionRegistry typeRegistry, java.util.List<GraphQLError> errors)
Methods in graphql.schema.idl with parameters of type Directive Modifier and Type Method Description 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)
private void
SchemaTypeDirectivesChecker. checkDirectiveArguments(java.util.List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, Node element, java.lang.String elementName, Directive directive, DirectiveDefinition directiveDefinition)
Method parameters in graphql.schema.idl with type arguments of type Directive Modifier and Type Method Description (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)
(package private) static java.lang.String
SchemaGeneratorAppliedDirectiveHelper. buildDeprecationReason(java.util.List<Directive> directives)
(package private) java.lang.String
SchemaGeneratorHelper. buildDeprecationReason(java.util.List<Directive> directives)
Constructors in graphql.schema.idl with parameters of type Directive Constructor Description ArgValueOfAllowedTypeChecker(Directive directive, Node<?> element, java.lang.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 Directive Constructor Description TypeExtensionDirectiveRedefinitionError(TypeDefinition typeExtensionDefinition, Directive directive)
-
Uses of Directive in graphql.validation
Methods in graphql.validation with parameters of type Directive Modifier and Type Method Description void
AbstractRule. checkDirective(Directive directive, java.util.List<Node> ancestors)
private void
RulesVisitor. checkDirective(Directive node, java.util.List<Node> ancestors)
private void
TraversalContext. enterImpl(Directive directive)
-
Uses of Directive in graphql.validation.rules
Methods in graphql.validation.rules with parameters of type Directive Modifier and Type Method Description void
KnownDirectives. checkDirective(Directive directive, java.util.List<Node> ancestors)
void
ProvidedNonNullArguments. checkDirective(Directive directive, java.util.List<Node> ancestors)
void
UniqueArgumentNames. checkDirective(Directive directive, java.util.List<Node> ancestors)
Method parameters in graphql.validation.rules with type arguments of type Directive Modifier and Type Method Description private void
UniqueDirectiveNamesPerLocation. checkDirectivesUniqueness(Node<?> directivesContainer, java.util.List<Directive> directives)
-