Enum Class OperationStatus
java.lang.Object
java.lang.Enum<OperationStatus>
com.wultra.security.powerauth.client.model.enumeration.OperationStatus
- All Implemented Interfaces:
Serializable,Comparable<OperationStatus>,Constable
Enumeration representing operation status.
- Author:
- Petr Dvorak, petr@wultra.com
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOperation was approved by the user.Operation was canceled by the user.Operation expired.Operation approval attempts failed repeatedly, hence the operation approval failed.Operation is pending approval.Operation was rejected by the user. -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationStatusReturns the enum constant of this class with the specified name.static OperationStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDING
Operation is pending approval. -
CANCELED
Operation was canceled by the user. -
EXPIRED
Operation expired. -
APPROVED
Operation was approved by the user. -
REJECTED
Operation was rejected by the user. -
FAILED
Operation approval attempts failed repeatedly, hence the operation approval failed.
-
-
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
-