Enum IfExists

java.lang.Object
java.lang.Enum<IfExists>
io.apicurio.registry.rest.v2.beans.IfExists
All Implemented Interfaces:
Serializable, Comparable<IfExists>, java.lang.constant.Constable

public enum IfExists extends Enum<IfExists>
  • Enum Constant Details

    • FAIL

      public static final IfExists FAIL
    • UPDATE

      public static final IfExists UPDATE
    • RETURN

      public static final IfExists RETURN
    • RETURN_OR_UPDATE

      public static final IfExists RETURN_OR_UPDATE
  • Method Details

    • values

      public static IfExists[] 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 IfExists 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<IfExists>
    • value

      public String value()
    • fromValue

      public static IfExists fromValue(String value)