Enum Class ProgressStatus

java.lang.Object
java.lang.Enum<ProgressStatus>
se.swedenconnect.bankid.rpapi.types.ProgressStatus
All Implemented Interfaces:
Serializable, Comparable<ProgressStatus>, Constable

public enum ProgressStatus extends Enum<ProgressStatus>
An enumeration representing the hintCode passed in a collect response when the status is pending. The enumeration also represents "complete".
Author:
Martin Lindström
  • Enum Constant Details

    • OUTSTANDING_TRANSACTION

      public static final ProgressStatus OUTSTANDING_TRANSACTION
      The order is being processed. The client has not yet received the order. The status will later change to NO_CLIENT, STARTED or USER_SIGN.
    • NO_CLIENT

      public static final ProgressStatus NO_CLIENT
      The order is being processed. The client has not yet received the order.
    • STARTED

      public static final ProgressStatus STARTED
      The order is pending. A client has been started with the autostarttoken but a usable ID has not yet been found in the started client.
    • USER_MRTD

      public static final ProgressStatus USER_MRTD
      Order is pending. A client has launched and received the order but additional steps for providing MRTD information is required to proceed with the order.
    • USER_SIGN

      public static final ProgressStatus USER_SIGN
      The client has received the order.
    • UNKNOWN_HINTCODE

      public static final ProgressStatus UNKNOWN_HINTCODE
      An unknown hint code was received in the collect response.
    • COMPLETE

      public static final ProgressStatus COMPLETE
      The user has provided the security code and completed the order. Collect response includes the signature, user information and the ocsp response.
  • Method Details

    • values

      public static ProgressStatus[] 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 ProgressStatus 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
    • forValue

      public static ProgressStatus forValue(String value)
      Given a string representation its enum object is returned.
      Parameters:
      value - the string representation
      Returns:
      a ProgressStatus
    • getValue

      public String getValue()
      Returns the string representation of the enum.
      Returns:
      the string representation