Enum NotificationGenericConstants.NOTIFICATION_TYPE
- java.lang.Object
-
- java.lang.Enum<NotificationGenericConstants.NOTIFICATION_TYPE>
-
- org.gcube.application.cms.notifications.NotificationGenericConstants.NOTIFICATION_TYPE
-
- All Implemented Interfaces:
Serializable,Comparable<NotificationGenericConstants.NOTIFICATION_TYPE>
- Enclosing class:
- NotificationGenericConstants
public static enum NotificationGenericConstants.NOTIFICATION_TYPE extends Enum<NotificationGenericConstants.NOTIFICATION_TYPE>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NotificationGenericConstants.NOTIFICATION_TYPEvalueOf(String name)Returns the enum constant of this type with the specified name.static NotificationGenericConstants.NOTIFICATION_TYPE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER_POST
public static final NotificationGenericConstants.NOTIFICATION_TYPE USER_POST
-
EMAIL
public static final NotificationGenericConstants.NOTIFICATION_TYPE EMAIL
-
VRE_POST
public static final NotificationGenericConstants.NOTIFICATION_TYPE VRE_POST
-
-
Method Detail
-
values
public static NotificationGenericConstants.NOTIFICATION_TYPE[] 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 (NotificationGenericConstants.NOTIFICATION_TYPE c : NotificationGenericConstants.NOTIFICATION_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NotificationGenericConstants.NOTIFICATION_TYPE 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
-
-