Package graphql.schema.diff
Enum Class DiffCategory
- All Implemented Interfaces:
Serializable
,Comparable<DiffCategory>
,Constable
A classification of difference events.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe new API has added something not present in the old APIThe new API has newly deprecated somethingThe new API has removed something previously deprecated in the old APIThe new API has changed something compared to the old APIThe new API has an invalid structureThe new API is missing something compared to the old APIThe new API has become stricter for existing clients than the old API -
Method Summary
Modifier and TypeMethodDescriptionstatic DiffCategory
Returns the enum constant of this class with the specified name.static DiffCategory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MISSING
The new API is missing something compared to the old API -
STRICTER
The new API has become stricter for existing clients than the old API -
INVALID
The new API has an invalid structure -
ADDITION
The new API has added something not present in the old API -
DIFFERENT
The new API has changed something compared to the old API -
DEPRECATION_ADDED
The new API has newly deprecated something -
DEPRECATION_REMOVED
The new API has removed something previously deprecated in the old API
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-