Enum Class DiffLevel

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

@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
  • Method Details

    • values

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