Package com.flowable.engage.message.api
Enum Class Category
- All Implemented Interfaces:
NamedType
,Serializable
,Comparable<Category>
,Constable
The enumeration of message categories. The type and subtype describe the data in more detail and are fully
customizable, the category, however, is not extensible and defaults to message and event only as of now.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn 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.An event is a data object within the event stream or audit trail.A media object contains a file and meta information along with an optional message.A general message within a conversation. -
Method Summary
Modifier and TypeMethodDescriptionstatic Category
getName()
Returns the name of the underlying type, enumeration or category.toString()
static Category
Returns the enum constant of this class with the specified name.static Category[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MESSAGE
A general message within a conversation. -
MEDIA
A media object contains a file and meta information along with an optional message. -
EVENT
An event is a data object within the event stream or audit trail. -
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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
Description copied from interface:NamedType
Returns the name of the underlying type, enumeration or category. -
fromName
-
toString
-