Enum DiffLevel

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

@PublicApi public enum DiffLevel extends Enum<DiffLevel>
This is the level of difference between graphql APIs
  • Enum Constant Details

    • INFO

      public static final DiffLevel INFO
      A simple info object coming out of the difference engine
    • BREAKING

      public static final DiffLevel BREAKING
      The new API has made a breaking change
    • DANGEROUS

      public static final DiffLevel DANGEROUS
      The new API has made a dangerous (but non breaking) change
  • Constructor Details

    • DiffLevel

      private DiffLevel()
  • Method Details

    • values

      public static DiffLevel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DiffLevel valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null