Enum Class OnInvalidChange

java.lang.Object
java.lang.Enum<OnInvalidChange>
oracle.pgx.config.OnInvalidChange
All Implemented Interfaces:
Serializable, Comparable<OnInvalidChange>, Constable

public enum OnInvalidChange extends Enum<OnInvalidChange>
The Enum OnInvalidChange.
  • Enum Constant Details

    • IGNORE

      public static final OnInvalidChange IGNORE
      silently ignore issue and go on
    • IGNORE_AND_LOG

      public static final OnInvalidChange IGNORE_AND_LOG
      log every occurrence of the issue and go on
    • IGNORE_AND_LOG_ONCE

      public static final OnInvalidChange IGNORE_AND_LOG_ONCE
      log only one occurrence of the issue and go on
    • ERROR

      public static final OnInvalidChange ERROR
      abort and throw error
  • Method Details

    • values

      public static OnInvalidChange[] 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 OnInvalidChange 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
    • toKey

      public String toKey()
      Returns:
      JSON key representation of this type