Enum NotificationConstants.NOTIFICATION_CONTEXT
- java.lang.Object
-
- java.lang.Enum<NotificationConstants.NOTIFICATION_CONTEXT>
-
- org.exoplatform.mailintegration.notification.utils.NotificationConstants.NOTIFICATION_CONTEXT
-
- All Implemented Interfaces:
Serializable,Comparable<NotificationConstants.NOTIFICATION_CONTEXT>
- Enclosing class:
- NotificationConstants
public static enum NotificationConstants.NOTIFICATION_CONTEXT extends Enum<NotificationConstants.NOTIFICATION_CONTEXT>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEW_EMAILS_RECIEVED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContext()static NotificationConstants.NOTIFICATION_CONTEXTvalueOf(String name)Returns the enum constant of this type with the specified name.static NotificationConstants.NOTIFICATION_CONTEXT[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW_EMAILS_RECIEVED
public static final NotificationConstants.NOTIFICATION_CONTEXT NEW_EMAILS_RECIEVED
-
-
Method Detail
-
values
public static NotificationConstants.NOTIFICATION_CONTEXT[] 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 (NotificationConstants.NOTIFICATION_CONTEXT c : NotificationConstants.NOTIFICATION_CONTEXT.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NotificationConstants.NOTIFICATION_CONTEXT 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
-
getContext
public String getContext()
-
-