Enum Class ProgressStatus
- All Implemented Interfaces:
Serializable
,Comparable<ProgressStatus>
,Constable
An enumeration representing the
hintCode
passed in a collect response when the status is pending. The
enumeration also represents "complete".- Author:
- Martin Lindström
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe user has provided the security code and completed the order.The order is being processed.The order is being processed.The order is pending.An unknown hint code was received in the collect response.Order is pending.The client has received the order. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProgressStatus
Given a string representation its enum object is returned.getValue()
Returns the string representation of the enum.static ProgressStatus
Returns the enum constant of this class with the specified name.static ProgressStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
The order is being processed. The client has not yet received the order. -
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
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
The client has received the order. -
UNKNOWN_HINTCODE
An unknown hint code was received in the collect response. -
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
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
-
forValue
Given a string representation its enum object is returned.- Parameters:
value
- the string representation- Returns:
- a
ProgressStatus
-
getValue
Returns the string representation of the enum.- Returns:
- the string representation
-