Enum Class UserActionResult
java.lang.Object
java.lang.Enum<UserActionResult>
com.wultra.security.powerauth.client.model.enumeration.UserActionResult
- All Implemented Interfaces:
Serializable,Comparable<UserActionResult>,Constable
Enum representing action user can take with operations.
- 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 ConstantDescriptionUser tried to approve the operation, but failed.User approved the operation.The failures of approval or rejection were so frequent, that the operation failed completely.User tried to reject the operation, but failed.User rejected the operation. -
Method Summary
Modifier and TypeMethodDescriptionstatic UserActionResultReturns the enum constant of this class with the specified name.static UserActionResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPROVED
User approved the operation. -
APPROVAL_FAILED
User tried to approve the operation, but failed. -
REJECTED
User rejected the operation. -
REJECT_FAILED
User tried to reject the operation, but failed. -
OPERATION_FAILED
The failures of approval or rejection were so frequent, that the operation failed completely.
-
-
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
-