Enum Class ApiResponse.Status
- All Implemented Interfaces:
Serializable
,Comparable<ApiResponse.Status>
,Constable
- Enclosing class:
ApiResponse
Representation of the status of the response.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe operation has been cancelled.The operation has been completed.Error response.The response is in progress.The operation against the BankID Server has not been started. -
Method Summary
Modifier and TypeMethodDescriptionstatic ApiResponse.Status
Returns the enum constant of this class with the specified name.static ApiResponse.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_STARTED
The operation against the BankID Server has not been started. -
IN_PROGRESS
The response is in progress. -
ERROR
Error response. -
COMPLETE
The operation has been completed. -
CANCEL
The operation has been cancelled.
-
-
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
-