public static enum ChatLog.Type extends Enum<ChatLog.Type>
Chat log represents following chat events:
CHAT_MSG_AGENT
Chat message sent by agentCHAT_MSG_VISITOR
Chat message sent by visitorCHAT_MSG_TRIGGER
Automated trigger event - @see Triggers DashboardCHAT_MSG_SYSTEM
Automated system eventMEMBER_JOIN
Someone joins the chatMEMBER_LEAVE
Someone leaves the chatSYSTEM_OFFLINE
System is offlineUNKNOWN
Chat event type unknownEnum Constant and Description |
---|
CHAT_MSG_AGENT |
CHAT_MSG_SYSTEM |
CHAT_MSG_TRIGGER |
CHAT_MSG_VISITOR |
MEMBER_JOIN |
MEMBER_LEAVE |
SYSTEM_OFFLINE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ChatLog.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatLog.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatLog.Type CHAT_MSG_AGENT
public static final ChatLog.Type CHAT_MSG_VISITOR
public static final ChatLog.Type CHAT_MSG_TRIGGER
public static final ChatLog.Type CHAT_MSG_SYSTEM
public static final ChatLog.Type MEMBER_LEAVE
public static final ChatLog.Type MEMBER_JOIN
public static final ChatLog.Type SYSTEM_OFFLINE
public static final ChatLog.Type UNKNOWN
public static ChatLog.Type[] values()
for (ChatLog.Type c : ChatLog.Type.values()) System.out.println(c);
public static ChatLog.Type 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 null