public static enum TopicNotifications.TopicNotificationListener.NotificationType extends Enum<TopicNotifications.TopicNotificationListener.NotificationType>
Enum Constant and Description |
---|
ADDED
The topic has been added.
|
DESELECTED
The topic is no longer selected due to the removal of a selector.
|
REMOVED
The topic has been removed.
|
SELECTED
The topic existed at the time of the selector registration.
|
Modifier and Type | Method and Description |
---|---|
static TopicNotifications.TopicNotificationListener.NotificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicNotifications.TopicNotificationListener.NotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicNotifications.TopicNotificationListener.NotificationType ADDED
public static final TopicNotifications.TopicNotificationListener.NotificationType SELECTED
public static final TopicNotifications.TopicNotificationListener.NotificationType REMOVED
public static final TopicNotifications.TopicNotificationListener.NotificationType DESELECTED
public static TopicNotifications.TopicNotificationListener.NotificationType[] values()
for (TopicNotifications.TopicNotificationListener.NotificationType c : TopicNotifications.TopicNotificationListener.NotificationType.values()) System.out.println(c);
public static TopicNotifications.TopicNotificationListener.NotificationType 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 nullCopyright © 2022 Push Technology Ltd. All Rights Reserved.