Enum CredentialStoreStatus
- java.lang.Object
-
- java.lang.Enum<CredentialStoreStatus>
-
- io.mosip.authentication.common.service.impl.idevent.CredentialStoreStatus
-
- All Implemented Interfaces:
Serializable,Comparable<CredentialStoreStatus>
public enum CredentialStoreStatus extends Enum<CredentialStoreStatus>
The Enum CredentialStoreStatus.- Author:
- Loganathan Sekar
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILEDThe failed status.FAILED_NON_RECOVERABLEThe failed non recoverable.FAILED_WITH_MAX_RETRIESThe failed with max retries status.NEWThe new status.STOREDThe stored status.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CredentialStoreStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static CredentialStoreStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW
public static final CredentialStoreStatus NEW
The new status.
-
STORED
public static final CredentialStoreStatus STORED
The stored status.
-
FAILED
public static final CredentialStoreStatus FAILED
The failed status.
-
FAILED_WITH_MAX_RETRIES
public static final CredentialStoreStatus FAILED_WITH_MAX_RETRIES
The failed with max retries status.
-
FAILED_NON_RECOVERABLE
public static final CredentialStoreStatus FAILED_NON_RECOVERABLE
The failed non recoverable.
-
-
Method Detail
-
values
public static CredentialStoreStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CredentialStoreStatus c : CredentialStoreStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CredentialStoreStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-