Enum Class ProductFlowStatus
- All Implemented Interfaces:
Serializable,Comparable<ProductFlowStatus>,Constable
Final outcome of a product flow.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe product flow was cancelled by the user.The product flow was declined by the system or counterparty.The product flow expired before completion.The product flow failed due to a technical error.The product flow is awaiting a decision.The product flow completed successfully. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProductFlowStatusReturns the enum constant of this class with the specified name.static ProductFlowStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
The product flow completed successfully. -
DECLINED
The product flow was declined by the system or counterparty. -
PENDING
The product flow is awaiting a decision. -
CANCELLED
The product flow was cancelled by the user. -
EXPIRED
The product flow expired before completion. -
FAIL
The product flow failed due to a technical error.
-
-
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
-