Enum Class DiffCategory

java.lang.Object
java.lang.Enum<DiffCategory>
graphql.schema.diff.DiffCategory
All Implemented Interfaces:
Serializable, Comparable<DiffCategory>, Constable

@PublicApi public enum DiffCategory extends Enum<DiffCategory>
A classification of difference events.
  • Enum Constant Details

    • MISSING

      public static final DiffCategory MISSING
      The new API is missing something compared to the old API
    • STRICTER

      public static final DiffCategory STRICTER
      The new API has become stricter for existing clients than the old API
    • INVALID

      public static final DiffCategory INVALID
      The new API has an invalid structure
    • ADDITION

      public static final DiffCategory ADDITION
      The new API has added something not present in the old API
    • DIFFERENT

      public static final DiffCategory DIFFERENT
      The new API has changed something compared to the old API
    • DEPRECATION_ADDED

      public static final DiffCategory DEPRECATION_ADDED
      The new API has newly deprecated something
    • DEPRECATION_REMOVED

      public static final DiffCategory DEPRECATION_REMOVED
      The new API has removed something previously deprecated in the old API
  • Method Details

    • values

      public static DiffCategory[] 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

      public static DiffCategory valueOf(String name)
      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 name
      NullPointerException - if the argument is null