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