public class UniqueDirectiveNamesPerLocation extends AbstractRule
Constructor and Description |
---|
UniqueDirectiveNamesPerLocation(ValidationContext validationContext,
ValidationErrorCollector validationErrorCollector) |
Modifier and Type | Method and Description |
---|---|
void |
checkDocument(Document document) |
void |
checkField(Field field) |
void |
checkFragmentDefinition(FragmentDefinition fragmentDefinition) |
void |
checkFragmentSpread(FragmentSpread fragmentSpread) |
void |
checkInlineFragment(InlineFragment inlineFragment) |
void |
checkOperationDefinition(OperationDefinition operationDefinition) |
addError, addError, addError, checkArgument, checkDirective, checkSelectionSet, checkTypeName, checkVariable, checkVariableDefinition, documentFinished, getErrors, getQueryPath, getValidationContext, getValidationErrorCollector, getValidationUtil, isVisitFragmentSpreads, leaveOperationDefinition, leaveSelectionSet, setVisitFragmentSpreads, toString
public UniqueDirectiveNamesPerLocation(ValidationContext validationContext, ValidationErrorCollector validationErrorCollector)
public void checkDocument(Document document)
checkDocument
in class AbstractRule
public void checkInlineFragment(InlineFragment inlineFragment)
checkInlineFragment
in class AbstractRule
public void checkFragmentDefinition(FragmentDefinition fragmentDefinition)
checkFragmentDefinition
in class AbstractRule
public void checkFragmentSpread(FragmentSpread fragmentSpread)
checkFragmentSpread
in class AbstractRule
public void checkField(Field field)
checkField
in class AbstractRule
public void checkOperationDefinition(OperationDefinition operationDefinition)
checkOperationDefinition
in class AbstractRule