Package graphql.schema.visitor
Class GraphQLSchemaTraversalControl
- java.lang.Object
-
- graphql.schema.visitor.GraphQLSchemaTraversalControl
-
@PublicApi public class GraphQLSchemaTraversalControl extends java.lang.Object
This indicates what traversal control to apply during the visitation and can be created via calls to methods likeGraphQLSchemaVisitorEnvironment.ok()
orGraphQLSchemaVisitorEnvironment.changeNode(GraphQLSchemaElement)
say
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
GraphQLSchemaTraversalControl.Control
-
Field Summary
Fields Modifier and Type Field Description (package private) static GraphQLSchemaTraversalControl
CONTINUE
private GraphQLSchemaTraversalControl.Control
control
(package private) static GraphQLSchemaTraversalControl
DELETE
private GraphQLSchemaElement
element
(package private) static GraphQLSchemaTraversalControl
QUIT
-
Constructor Summary
Constructors Constructor Description GraphQLSchemaTraversalControl(GraphQLSchemaTraversalControl.Control control, GraphQLSchemaElement element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) GraphQLSchemaTraversalControl.Control
getControl()
(package private) GraphQLSchemaElement
getElement()
(package private) boolean
isAbortive()
(package private) boolean
isMutative()
(package private) TraversalControl
toTraversalControl(TraverserContext<GraphQLSchemaElement> context)
-
-
-
Field Detail
-
element
private final GraphQLSchemaElement element
-
control
private final GraphQLSchemaTraversalControl.Control control
-
CONTINUE
static final GraphQLSchemaTraversalControl CONTINUE
-
QUIT
static final GraphQLSchemaTraversalControl QUIT
-
DELETE
static final GraphQLSchemaTraversalControl DELETE
-
-
Constructor Detail
-
GraphQLSchemaTraversalControl
GraphQLSchemaTraversalControl(GraphQLSchemaTraversalControl.Control control, GraphQLSchemaElement element)
-
-
Method Detail
-
getElement
GraphQLSchemaElement getElement()
-
getControl
GraphQLSchemaTraversalControl.Control getControl()
-
isAbortive
boolean isAbortive()
-
isMutative
boolean isMutative()
-
toTraversalControl
TraversalControl toTraversalControl(TraverserContext<GraphQLSchemaElement> context)
-
-