Enum Class Transaction.TransactionState

java.lang.Object
java.lang.Enum<Transaction.TransactionState>
org.apache.nifi.remote.Transaction.TransactionState
All Implemented Interfaces:
Serializable, Comparable<Transaction.TransactionState>, Constable
Enclosing interface:
Transaction

public static enum Transaction.TransactionState extends Enum<Transaction.TransactionState>
  • Enum Constant Details

    • TRANSACTION_STARTED

      public static final Transaction.TransactionState TRANSACTION_STARTED
      Transaction has been started but no data has been sent or received.
    • DATA_EXCHANGED

      public static final Transaction.TransactionState DATA_EXCHANGED
      Transaction has been started and data has been sent or received.
    • TRANSACTION_CONFIRMED

      public static final Transaction.TransactionState TRANSACTION_CONFIRMED
      Data that has been transferred has been confirmed via its CRC. Transaction is ready to be completed.
    • TRANSACTION_COMPLETED

      public static final Transaction.TransactionState TRANSACTION_COMPLETED
      Transaction has been successfully completed.
    • TRANSACTION_CANCELED

      public static final Transaction.TransactionState TRANSACTION_CANCELED
      The Transaction has been canceled.
    • ERROR

      public static final Transaction.TransactionState ERROR
      The Transaction ended in an error.
  • Constructor Details

    • TransactionState

      private TransactionState()
  • Method Details

    • values

      public static Transaction.TransactionState[] 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 Transaction.TransactionState 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