public enum NexusEventType extends java.lang.Enum<NexusEventType>
| Modifier and Type | Method and Description |
|---|---|
static NexusEventType |
safeValueOf(java.lang.String name) |
protected JSONObject |
toJsonObject(NexusEvent nexusEvent) |
protected java.lang.String |
toStringEncodedJsonObject(NexusEvent nexusEvent) |
static NexusEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NexusEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NexusEventType NewComment
public static final NexusEventType ConversationSeen
public static final NexusEventType UserIsTyping
public static final NexusEventType AdminIsTyping
public static final NexusEventType AdminIsTypingANote
public static final NexusEventType NewNote
public static final NexusEventType ConversationAssigned
public static final NexusEventType ConversationClosed
public static final NexusEventType ConversationReopened
public static final NexusEventType UserPresence
public static final NexusEventType UserContentSeenByAdmin
public static final NexusEventType Subscribe
public static final NexusEventType Unsubscribe
public static final NexusEventType ThreadAssigned
public static final NexusEventType ThreadClosed
public static final NexusEventType ThreadReopened
public static final NexusEventType ThreadUpdated
public static final NexusEventType ThreadCreated
public static final NexusEventType UNKNOWN
public static NexusEventType[] values()
for (NexusEventType c : NexusEventType.values()) System.out.println(c);
public static NexusEventType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullprotected java.lang.String toStringEncodedJsonObject(NexusEvent nexusEvent)
protected JSONObject toJsonObject(NexusEvent nexusEvent) throws JSONException
JSONExceptionpublic static NexusEventType safeValueOf(java.lang.String name)