public static enum NotificationConstants.NOTIFICATION_CONTEXT extends Enum<NotificationConstants.NOTIFICATION_CONTEXT>
| Enum Constant and Description |
|---|
COMMENT_MY_NEWS |
COMMENT_MY_SHARED_NEWS |
LIKE_MY_NEWS |
LIKE_MY_SHARED_NEWS |
POST_NEWS |
SHARE_MY_NEWS |
SHARE_NEWS |
| Modifier and Type | Method and Description |
|---|---|
String |
getContext() |
static NotificationConstants.NOTIFICATION_CONTEXT |
valueOf(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.
|
public static final NotificationConstants.NOTIFICATION_CONTEXT POST_NEWS
public static final NotificationConstants.NOTIFICATION_CONTEXT SHARE_NEWS
public static final NotificationConstants.NOTIFICATION_CONTEXT SHARE_MY_NEWS
public static final NotificationConstants.NOTIFICATION_CONTEXT LIKE_MY_NEWS
public static final NotificationConstants.NOTIFICATION_CONTEXT LIKE_MY_SHARED_NEWS
public static final NotificationConstants.NOTIFICATION_CONTEXT COMMENT_MY_NEWS
public static final NotificationConstants.NOTIFICATION_CONTEXT COMMENT_MY_SHARED_NEWS
public static NotificationConstants.NOTIFICATION_CONTEXT[] values()
for (NotificationConstants.NOTIFICATION_CONTEXT c : NotificationConstants.NOTIFICATION_CONTEXT.values()) System.out.println(c);
public static NotificationConstants.NOTIFICATION_CONTEXT valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getContext()
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.