Package org.apache.nifi.remote
Enum Class Transaction.TransactionState
- All Implemented Interfaces:
Serializable
,Comparable<Transaction.TransactionState>
,Constable
- Enclosing interface:
Transaction
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTransaction has been started and data has been sent or received.The Transaction ended in an error.The Transaction has been canceled.Transaction has been successfully completed.Data that has been transferred has been confirmed via its CRC.Transaction has been started but no data has been sent or received. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Transaction.TransactionState
Returns the enum constant of this class with the specified name.static Transaction.TransactionState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRANSACTION_STARTED
Transaction has been started but no data has been sent or received. -
DATA_EXCHANGED
Transaction has been started and data has been sent or received. -
TRANSACTION_CONFIRMED
Data that has been transferred has been confirmed via its CRC. Transaction is ready to be completed. -
TRANSACTION_COMPLETED
Transaction has been successfully completed. -
TRANSACTION_CANCELED
The Transaction has been canceled. -
ERROR
The Transaction ended in an error.
-
-
Constructor Details
-
TransactionState
private TransactionState()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-