Package org.flowable.idm.api.event
Enum Class FlowableIdmEventType
- All Implemented Interfaces:
Serializable,Comparable<FlowableIdmEventType>,Constable,FlowableEventType
Enumeration containing all possible types of Flowable IDM events.
- Author:
- Frederik Heremans
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn event type to be used by custom events.The process-engine that dispatched this event has been closed and cannot be used anymore.The process-engine that dispatched this event has been created and is ready for use.New entity is created.Existing entity is deleted.New entity has been created and all child-entities that are created as a result of the creation of this particular entity are also created and initialized.Existing entity us updated.A new membership has been created.A single membership has been deleted.All memberships in the related group have been deleted. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowableIdmEventType[]getTypesFromString(String string) static FlowableIdmEventTypeReturns the enum constant of this class with the specified name.static FlowableIdmEventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.flowable.common.engine.api.delegate.event.FlowableEventType
name
-
Enum Constant Details
-
ENTITY_CREATED
New entity is created. -
ENTITY_INITIALIZED
New entity has been created and all child-entities that are created as a result of the creation of this particular entity are also created and initialized. -
ENTITY_UPDATED
Existing entity us updated. -
ENTITY_DELETED
Existing entity is deleted. -
CUSTOM
An event type to be used by custom events. These types of events are never thrown by the engine itself, only be an external API call to dispatch an event. -
ENGINE_CREATED
The process-engine that dispatched this event has been created and is ready for use. -
ENGINE_CLOSED
The process-engine that dispatched this event has been closed and cannot be used anymore. -
MEMBERSHIP_CREATED
A new membership has been created. -
MEMBERSHIP_DELETED
A single membership has been deleted. -
MEMBERSHIPS_DELETED
All memberships in the related group have been deleted. No individualMEMBERSHIP_DELETEDevents will be dispatched due to possible performance reasons. The event is dispatched before the memberships are deleted, so they can still be accessed in the dispatch method of the listener.
-
-
Field Details
-
EMPTY_ARRAY
-
-
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
-
getTypesFromString
- Parameters:
string- the string containing a comma-separated list of event-type names- Returns:
- an array of
FlowableIdmEventTypebased on the given string. - Throws:
IllegalArgumentException- when one of the given string is not a valid type name
-