Enum Transactions.Outcome

java.lang.Object
java.lang.Enum<Transactions.Outcome>
com.codename1.backend.Transactions.Outcome
All Implemented Interfaces:
Comparable<Transactions.Outcome>
Enclosing class:
Transactions

public static enum Transactions.Outcome extends Enum<Transactions.Outcome>
Final outcome. UNKNOWN means a commit or rollback failed and durability cannot be established; it must never be treated as a successful commit.
  • Enum Constant Details

  • Method Details

    • values

      public static Transactions.Outcome[] 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 Transactions.Outcome 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