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

public enum OperationStatus extends Enum<OperationStatus>
Enumeration representing operation status.
Author:
Petr Dvorak, petr@wultra.com
  • Enum Constant Details

    • PENDING

      public static final OperationStatus PENDING
      Operation is pending approval.
    • CANCELED

      public static final OperationStatus CANCELED
      Operation was canceled by the user.
    • EXPIRED

      public static final OperationStatus EXPIRED
      Operation expired.
    • APPROVED

      public static final OperationStatus APPROVED
      Operation was approved by the user.
    • REJECTED

      public static final OperationStatus REJECTED
      Operation was rejected by the user.
    • FAILED

      public static final OperationStatus FAILED
      Operation approval attempts failed repeatedly, hence the operation approval failed.
  • Method Details

    • values

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