public enum Category extends Enum<Category> implements NamedType
| Enum Constant and Description |
|---|
ACTION
An action is a specific message sent / received as part of a conversation to interact with the underlying work item or as a generally available action.
|
EVENT
An event is a data object within the event stream or audit trail.
|
MEDIA
A media object contains a file and meta information along with an optional message.
|
MESSAGE
A general message within a
Conversation. |
| Modifier and Type | Method and Description |
|---|---|
static Category |
fromName(String name) |
String |
getName()
Returns the name of the underlying type, enumeration or category.
|
String |
toString() |
static Category |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Category MESSAGE
Conversation.public static final Category MEDIA
public static final Category EVENT
public static final Category ACTION
public static Category[] values()
for (Category c : Category.values()) System.out.println(c);
public static Category 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 nullpublic String getName()
NamedTypeCopyright © 2019. All rights reserved.