Package graphql.validation
Class RulesVisitor
- java.lang.Object
-
- graphql.validation.RulesVisitor
-
- All Implemented Interfaces:
DocumentVisitor
public class RulesVisitor extends java.lang.Object implements DocumentVisitor
-
-
Constructor Summary
Constructors Constructor Description RulesVisitor(ValidationContext validationContext, java.util.List<AbstractRule> rules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enter(Node node, java.util.List<Node> ancestors)
void
leave(Node node, java.util.List<Node> ancestors)
-
-
-
Constructor Detail
-
RulesVisitor
public RulesVisitor(ValidationContext validationContext, java.util.List<AbstractRule> rules)
-
-
Method Detail
-
enter
public void enter(Node node, java.util.List<Node> ancestors)
- Specified by:
enter
in interfaceDocumentVisitor
-
leave
public void leave(Node node, java.util.List<Node> ancestors)
- Specified by:
leave
in interfaceDocumentVisitor
-
-