Package graphql.schema.idl
Class SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor
java.lang.Object
graphql.schema.GraphQLTypeVisitorStub
graphql.schema.idl.SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor
- All Implemented Interfaces:
GraphQLTypeVisitor
- Enclosing class:
SchemaDirectiveWiringSchemaGeneratorPostProcessing
public class SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor
extends GraphQLTypeVisitorStub
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate TraversalControl
changOrContinue
(GraphQLSchemaElement node, GraphQLSchemaElement newNode, TraverserContext<GraphQLSchemaElement> context) private boolean
private <T extends GraphQLNamedType>
booleannotSuitable
(T node, Function<T, NamedNode<?>> suitableFunc) boolean
visitGraphQLEnumType
(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context) visitGraphQLInputObjectType
(GraphQLInputObjectType node, TraverserContext<GraphQLSchemaElement> context) visitGraphQLInterfaceType
(GraphQLInterfaceType node, TraverserContext<GraphQLSchemaElement> context) visitGraphQLObjectType
(GraphQLObjectType node, TraverserContext<GraphQLSchemaElement> context) visitGraphQLScalarType
(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context) visitGraphQLUnionType
(GraphQLUnionType node, TraverserContext<GraphQLSchemaElement> context) Methods inherited from class graphql.schema.GraphQLTypeVisitorStub
visitGraphQLAppliedDirective, visitGraphQLAppliedDirectiveArgument, visitGraphQLArgument, visitGraphQLDirective, visitGraphQLEnumValueDefinition, visitGraphQLFieldDefinition, visitGraphQLInputObjectField, visitGraphQLList, visitGraphQLNonNull, visitGraphQLType, visitGraphQLTypeReference
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface graphql.schema.GraphQLTypeVisitor
changeNode, deleteNode, insertAfter, insertBefore, visitBackRef, visitGraphQLCompositeType, visitGraphQLDirectiveContainer, visitGraphQLFieldsContainer, visitGraphQLInputFieldsContainer, visitGraphQLInputType, visitGraphQLModifiedType, visitGraphQLNullableType, visitGraphQLOutputType, visitGraphQLUnmodifiedType
-
Field Details
-
schemaChanged
private boolean schemaChanged
-
-
Constructor Details
-
Visitor
public Visitor()
-
-
Method Details
-
schemaChanged
public boolean schemaChanged() -
mkBehaviourParams
-
changOrContinue
private TraversalControl changOrContinue(GraphQLSchemaElement node, GraphQLSchemaElement newNode, TraverserContext<GraphQLSchemaElement> context) -
isIntrospectionType
-
notSuitable
private <T extends GraphQLNamedType> boolean notSuitable(T node, Function<T, NamedNode<?>> suitableFunc) -
visitGraphQLObjectType
public TraversalControl visitGraphQLObjectType(GraphQLObjectType node, TraverserContext<GraphQLSchemaElement> context) - Specified by:
visitGraphQLObjectType
in interfaceGraphQLTypeVisitor
- Overrides:
visitGraphQLObjectType
in classGraphQLTypeVisitorStub
-
visitGraphQLInterfaceType
public TraversalControl visitGraphQLInterfaceType(GraphQLInterfaceType node, TraverserContext<GraphQLSchemaElement> context) - Specified by:
visitGraphQLInterfaceType
in interfaceGraphQLTypeVisitor
- Overrides:
visitGraphQLInterfaceType
in classGraphQLTypeVisitorStub
-
visitGraphQLEnumType
public TraversalControl visitGraphQLEnumType(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context) - Specified by:
visitGraphQLEnumType
in interfaceGraphQLTypeVisitor
- Overrides:
visitGraphQLEnumType
in classGraphQLTypeVisitorStub
-
visitGraphQLInputObjectType
public TraversalControl visitGraphQLInputObjectType(GraphQLInputObjectType node, TraverserContext<GraphQLSchemaElement> context) - Specified by:
visitGraphQLInputObjectType
in interfaceGraphQLTypeVisitor
- Overrides:
visitGraphQLInputObjectType
in classGraphQLTypeVisitorStub
-
visitGraphQLScalarType
public TraversalControl visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context) - Specified by:
visitGraphQLScalarType
in interfaceGraphQLTypeVisitor
- Overrides:
visitGraphQLScalarType
in classGraphQLTypeVisitorStub
-
visitGraphQLUnionType
public TraversalControl visitGraphQLUnionType(GraphQLUnionType node, TraverserContext<GraphQLSchemaElement> context) - Specified by:
visitGraphQLUnionType
in interfaceGraphQLTypeVisitor
- Overrides:
visitGraphQLUnionType
in classGraphQLTypeVisitorStub
-