Package graphql.schema.validation
Enum SchemaValidationErrorType
- java.lang.Object
-
- java.lang.Enum<SchemaValidationErrorType>
-
- graphql.schema.validation.SchemaValidationErrorType
-
- All Implemented Interfaces:
SchemaValidationErrorClassification
,java.io.Serializable
,java.lang.Comparable<SchemaValidationErrorType>
public enum SchemaValidationErrorType extends java.lang.Enum<SchemaValidationErrorType> implements SchemaValidationErrorClassification
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchemaValidationErrorType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SchemaValidationErrorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UnbrokenInputCycle
public static final SchemaValidationErrorType UnbrokenInputCycle
-
ObjectDoesNotImplementItsInterfaces
public static final SchemaValidationErrorType ObjectDoesNotImplementItsInterfaces
-
ImplementingTypeLackOfFieldError
public static final SchemaValidationErrorType ImplementingTypeLackOfFieldError
-
InputObjectTypeLackOfFieldError
public static final SchemaValidationErrorType InputObjectTypeLackOfFieldError
-
EnumLackOfValueError
public static final SchemaValidationErrorType EnumLackOfValueError
-
UnionTypeLackOfTypeError
public static final SchemaValidationErrorType UnionTypeLackOfTypeError
-
InvalidUnionMemberTypeError
public static final SchemaValidationErrorType InvalidUnionMemberTypeError
-
InvalidCustomizedNameError
public static final SchemaValidationErrorType InvalidCustomizedNameError
-
NonNullWrapNonNullError
public static final SchemaValidationErrorType NonNullWrapNonNullError
-
RepetitiveElementError
public static final SchemaValidationErrorType RepetitiveElementError
-
InvalidDefaultValue
public static final SchemaValidationErrorType InvalidDefaultValue
-
InvalidAppliedDirectiveArgument
public static final SchemaValidationErrorType InvalidAppliedDirectiveArgument
-
InvalidAppliedDirective
public static final SchemaValidationErrorType InvalidAppliedDirective
-
OutputTypeUsedInInputTypeContext
public static final SchemaValidationErrorType OutputTypeUsedInInputTypeContext
-
InputTypeUsedInOutputTypeContext
public static final SchemaValidationErrorType InputTypeUsedInOutputTypeContext
-
-
Method Detail
-
values
public static SchemaValidationErrorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SchemaValidationErrorType c : SchemaValidationErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaValidationErrorType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-