Enum EnrollmentStatus
- java.lang.Object
-
- java.lang.Enum<EnrollmentStatus>
-
- com.gemalto.mfs.mwsdk.provisioning.model.EnrollmentStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EnrollmentStatus>
public enum EnrollmentStatus extends java.lang.Enum<EnrollmentStatus>
Enumeration indicating the different enrollment statuses or states of the SDK.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENROLLMENT_COMPLETE
Enrollment is completed.ENROLLMENT_IN_PROGRESS
Enrollment is in progress.ENROLLMENT_NEEDED
Enrollment is needed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EnrollmentStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EnrollmentStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENROLLMENT_NEEDED
public static final EnrollmentStatus ENROLLMENT_NEEDED
Enrollment is needed.
-
ENROLLMENT_IN_PROGRESS
public static final EnrollmentStatus ENROLLMENT_IN_PROGRESS
Enrollment is in progress.
-
ENROLLMENT_COMPLETE
public static final EnrollmentStatus ENROLLMENT_COMPLETE
Enrollment is completed.
-
-
Method Detail
-
values
public static EnrollmentStatus[] 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 (EnrollmentStatus c : EnrollmentStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnrollmentStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-