Package graphql.schema.validation
Class SchemaValidator
- java.lang.Object
-
- graphql.schema.validation.SchemaValidator
-
public class SchemaValidator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<GraphQLTypeVisitor>
rules
-
Constructor Summary
Constructors Constructor Description SchemaValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<GraphQLTypeVisitor>
getRules()
java.util.Set<SchemaValidationError>
validateSchema(GraphQLSchema schema)
-
-
-
Field Detail
-
rules
private final java.util.List<GraphQLTypeVisitor> rules
-
-
Method Detail
-
getRules
public java.util.List<GraphQLTypeVisitor> getRules()
-
validateSchema
public java.util.Set<SchemaValidationError> validateSchema(GraphQLSchema schema)
-
-