Package graphql.validation.rules
Class KnownTypeNames
- java.lang.Object
-
- graphql.validation.AbstractRule
-
- graphql.validation.rules.KnownTypeNames
-
public class KnownTypeNames extends AbstractRule
-
-
Constructor Summary
Constructors Constructor Description KnownTypeNames(ValidationContext validationContext, ValidationErrorCollector validationErrorCollector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkTypeName(TypeName typeName)
-
Methods inherited from class graphql.validation.AbstractRule
addError, addError, addError, checkArgument, checkDirective, checkDocument, checkField, checkFragmentDefinition, checkFragmentSpread, checkInlineFragment, checkObjectValue, checkOperationDefinition, checkSelectionSet, checkVariable, checkVariableDefinition, documentFinished, getErrors, getQueryPath, getValidationContext, getValidationErrorCollector, getValidationUtil, i18n, i18n, isVisitFragmentSpreads, leaveOperationDefinition, leaveSelectionSet, setVisitFragmentSpreads, toString
-
-
-
-
Constructor Detail
-
KnownTypeNames
public KnownTypeNames(ValidationContext validationContext, ValidationErrorCollector validationErrorCollector)
-
-
Method Detail
-
checkTypeName
public void checkTypeName(TypeName typeName)
- Overrides:
checkTypeName
in classAbstractRule
-
-