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