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

public enum UserActionResult extends Enum<UserActionResult>
Enum representing action user can take with operations.
Author:
Petr Dvorak, petr@wultra.com
  • Enum Constant Details

    • APPROVED

      public static final UserActionResult APPROVED
      User approved the operation.
    • APPROVAL_FAILED

      public static final UserActionResult APPROVAL_FAILED
      User tried to approve the operation, but failed.
    • REJECTED

      public static final UserActionResult REJECTED
      User rejected the operation.
    • REJECT_FAILED

      public static final UserActionResult REJECT_FAILED
      User tried to reject the operation, but failed.
    • OPERATION_FAILED

      public static final UserActionResult OPERATION_FAILED
      The failures of approval or rejection were so frequent, that the operation failed completely.
  • Method Details

    • values

      public static UserActionResult[] 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 UserActionResult 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