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 classGraphQLSchemaTraversalControl.Control
-
Field Summary
Fields Modifier and Type Field Description (package private) static GraphQLSchemaTraversalControlCONTINUEprivate GraphQLSchemaTraversalControl.Controlcontrol(package private) static GraphQLSchemaTraversalControlDELETEprivate GraphQLSchemaElementelement(package private) static GraphQLSchemaTraversalControlQUIT
-
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.ControlgetControl()(package private) GraphQLSchemaElementgetElement()(package private) booleanisAbortive()(package private) booleanisMutative()(package private) TraversalControltoTraversalControl(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)
-
-