Package org.openiam.constants
Enum DeviceNotificationType
- java.lang.Object
-
- java.lang.Enum<DeviceNotificationType>
-
- org.openiam.constants.DeviceNotificationType
-
- All Implemented Interfaces:
Serializable,Comparable<DeviceNotificationType>
public enum DeviceNotificationType extends Enum<DeviceNotificationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOMDELETE_DEVICELOGIN_ATTEMPTREGISTRATION_CONFIRMATIONREGISTRATION_FAILUREREGISTRATION_SUCCESSRESET_PASSWORD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCaption()StringgetMessage()static DeviceNotificationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DeviceNotificationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REGISTRATION_CONFIRMATION
public static final DeviceNotificationType REGISTRATION_CONFIRMATION
-
REGISTRATION_SUCCESS
public static final DeviceNotificationType REGISTRATION_SUCCESS
-
DELETE_DEVICE
public static final DeviceNotificationType DELETE_DEVICE
-
REGISTRATION_FAILURE
public static final DeviceNotificationType REGISTRATION_FAILURE
-
RESET_PASSWORD
public static final DeviceNotificationType RESET_PASSWORD
-
LOGIN_ATTEMPT
public static final DeviceNotificationType LOGIN_ATTEMPT
-
CUSTOM
public static final DeviceNotificationType CUSTOM
-
-
Method Detail
-
values
public static DeviceNotificationType[] 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 (DeviceNotificationType c : DeviceNotificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeviceNotificationType 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
-
getCaption
public String getCaption()
-
getMessage
public String getMessage()
-
-