public class PushNotificationEventType<T>
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static PushNotificationEventType<java.lang.Void> |
LOGGED_OUT
The user session has been invalidated
|
static PushNotificationEventType<NewMessagePushNotificationData> |
NEW_MESSAGE
A new message has arrived
|
static PushNotificationEventType<NewNotificationPushNotificationData> |
NEW_NOTIFICATION
A new notification has arrived
|
static PushNotificationEventType<TicketVO> |
TICKET
A ticket status has changed
|
static PushNotificationEventType<TicketVO> |
TICKET_ACCEPTED
Deprecated.
Use
TICKET instead, which publishes events for any status |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static java.util.List<PushNotificationEventType<?>> |
getAll()
Returns all event types
|
static PushNotificationEventType<?> |
getByName(java.lang.String name)
Returns an event type by name, or null if none exists
|
java.lang.Class<T> |
getDataType() |
java.lang.String |
getDataTypeName() |
java.lang.String |
getName() |
int |
hashCode() |
java.lang.String |
toString() |
protected java.lang.Object |
writeReplace() |
@Deprecated public static final PushNotificationEventType<TicketVO> TICKET_ACCEPTED
TICKET instead, which publishes events for any statuspublic static final PushNotificationEventType<TicketVO> TICKET
public static final PushNotificationEventType<NewMessagePushNotificationData> NEW_MESSAGE
public static final PushNotificationEventType<NewNotificationPushNotificationData> NEW_NOTIFICATION
public static final PushNotificationEventType<java.lang.Void> LOGGED_OUT
public static java.util.List<PushNotificationEventType<?>> getAll()
public static PushNotificationEventType<?> getByName(java.lang.String name)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.Class<T> getDataType()
public java.lang.String getDataTypeName()
public java.lang.String getName()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectprotected java.lang.Object writeReplace()