Package org.exoplatform.chat.model
Enum RealTimeMessageBean.EventType
- java.lang.Object
-
- java.lang.Enum<RealTimeMessageBean.EventType>
-
- org.exoplatform.chat.model.RealTimeMessageBean.EventType
-
- All Implemented Interfaces:
Serializable,Comparable<RealTimeMessageBean.EventType>
- Enclosing class:
- RealTimeMessageBean
public static enum RealTimeMessageBean.EventType extends Enum<RealTimeMessageBean.EventType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RealTimeMessageBean.EventTypeget(String value)StringtoString()static RealTimeMessageBean.EventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static RealTimeMessageBean.EventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MESSAGE_SENT
public static final RealTimeMessageBean.EventType MESSAGE_SENT
-
MESSAGE_UPDATED
public static final RealTimeMessageBean.EventType MESSAGE_UPDATED
-
MESSAGE_DELETED
public static final RealTimeMessageBean.EventType MESSAGE_DELETED
-
MESSAGE_READ
public static final RealTimeMessageBean.EventType MESSAGE_READ
-
USER_STATUS_CHANGED
public static final RealTimeMessageBean.EventType USER_STATUS_CHANGED
-
ROOM_MEMBER_JOIN
public static final RealTimeMessageBean.EventType ROOM_MEMBER_JOIN
-
ROOM_MEMBER_LEAVE_REQUESTED
public static final RealTimeMessageBean.EventType ROOM_MEMBER_LEAVE_REQUESTED
-
ROOM_MEMBER_LEFT
public static final RealTimeMessageBean.EventType ROOM_MEMBER_LEFT
-
ROOM_UPDATED
public static final RealTimeMessageBean.EventType ROOM_UPDATED
-
ROOM_DELETED
public static final RealTimeMessageBean.EventType ROOM_DELETED
-
FAVORITE_ADDED
public static final RealTimeMessageBean.EventType FAVORITE_ADDED
-
FAVORITE_REMOVED
public static final RealTimeMessageBean.EventType FAVORITE_REMOVED
-
ROOM_SETTINGS_UPDATED
public static final RealTimeMessageBean.EventType ROOM_SETTINGS_UPDATED
-
NOTIFICATION_COUNT_UPDATED
public static final RealTimeMessageBean.EventType NOTIFICATION_COUNT_UPDATED
-
LOGOUT_SENT
public static final RealTimeMessageBean.EventType LOGOUT_SENT
-
-
Method Detail
-
values
public static RealTimeMessageBean.EventType[] 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 (RealTimeMessageBean.EventType c : RealTimeMessageBean.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RealTimeMessageBean.EventType 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<RealTimeMessageBean.EventType>
-
get
public static RealTimeMessageBean.EventType get(String value)
-
-