public enum FlowableEngineEventType extends Enum<FlowableEngineEventType> implements FlowableEventType
FlowableEvents.| Enum Constant and Description |
|---|
ACTIVITY_CANCELLED
An activity has been cancelled because of boundary event.
|
ACTIVITY_COMPENSATE
An activity is about to be executed as a compensation for another activity.
|
ACTIVITY_COMPLETED
An activity has been completed successfully.
|
ACTIVITY_ERROR_RECEIVED
An activity has received an error event.
|
ACTIVITY_MESSAGE_CANCELLED
A boundary, intermediate, or subprocess start message catching event has been cancelled.
|
ACTIVITY_MESSAGE_RECEIVED
An activity has received a message event.
|
ACTIVITY_MESSAGE_WAITING
A boundary, intermediate, or subprocess start message catching event has started.
|
ACTIVITY_SIGNAL_WAITING
A boundary, intermediate, or subprocess start signal catching event has started.
|
ACTIVITY_SIGNALED
An activity has received a signal.
|
ACTIVITY_STARTED
An activity is starting to execute.
|
CUSTOM
An event type to be used by custom events.
|
ENGINE_CLOSED
The process-engine that dispatched this event has been closed and cannot be used anymore.
|
ENGINE_CREATED
The process-engine that dispatched this event has been created and is ready for use.
|
ENTITY_ACTIVATED
Existing entity has been activated.
|
ENTITY_CREATED
New entity is created.
|
ENTITY_DELETED
Existing entity is deleted.
|
ENTITY_INITIALIZED
New entity has been created and all properties have been set.
|
ENTITY_SUSPENDED
Existing entity has been suspended.
|
ENTITY_UPDATED
Existing entity us updated.
|
HISTORIC_ACTIVITY_INSTANCE_CREATED
A event dispatched when a
HistoricActivityInstance is created. |
HISTORIC_ACTIVITY_INSTANCE_ENDED
A event dispatched when a
HistoricActivityInstance is marked as ended. |
HISTORIC_PROCESS_INSTANCE_CREATED
A event dispatched when a
HistoricProcessInstance is created. |
HISTORIC_PROCESS_INSTANCE_ENDED
A event dispatched when a
HistoricProcessInstance is marked as ended. |
JOB_CANCELED
Timer has been cancelled (e.g.
|
JOB_EXECUTION_FAILURE
A job has been executed, but failed.
|
JOB_EXECUTION_SUCCESS
A job has been successfully executed.
|
JOB_RESCHEDULED
The job has been rescheduled.
|
JOB_RETRIES_DECREMENTED
The retry-count on a job has been decremented.
|
MULTI_INSTANCE_ACTIVITY_CANCELLED
A multi-instance activity has been cancelled.
|
MULTI_INSTANCE_ACTIVITY_COMPLETED
A multi-instance activity has been completed successfully.
|
MULTI_INSTANCE_ACTIVITY_COMPLETED_WITH_CONDITION
A multi-instance activity has met its condition and completed successfully.
|
MULTI_INSTANCE_ACTIVITY_STARTED
A multi-instance activity is starting to execute.
|
PROCESS_CANCELLED
A process has been cancelled.
|
PROCESS_COMPLETED
A process has been completed.
|
PROCESS_COMPLETED_WITH_ERROR_END_EVENT
A process has been completed with an error end event.
|
PROCESS_COMPLETED_WITH_TERMINATE_END_EVENT
A process has been completed with a terminate end event.
|
PROCESS_CREATED
A process instance has been created.
|
PROCESS_STARTED
A process instance has been started.
|
SEQUENCEFLOW_TAKEN
Indicates the engine has taken (ie.
|
TASK_ASSIGNED
A task as been assigned.
|
TASK_COMPLETED
A task has been completed.
|
TASK_CREATED
A task has been created.
|
TIMER_FIRED
Timer has been fired successfully.
|
TIMER_SCHEDULED
A Timer has been scheduled.
|
VARIABLE_CREATED
A new variable has been created.
|
VARIABLE_DELETED
An existing variable has been deleted.
|
VARIABLE_UPDATED
An existing variable has been updated.
|
| Modifier and Type | Field and Description |
|---|---|
static FlowableEngineEventType[] |
EMPTY_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
static FlowableEngineEventType[] |
getTypesFromString(String string) |
static FlowableEngineEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlowableEngineEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final FlowableEngineEventType ENTITY_CREATED
public static final FlowableEngineEventType ENTITY_INITIALIZED
public static final FlowableEngineEventType ENTITY_UPDATED
public static final FlowableEngineEventType ENTITY_DELETED
public static final FlowableEngineEventType ENTITY_SUSPENDED
public static final FlowableEngineEventType ENTITY_ACTIVATED
public static final FlowableEngineEventType TIMER_SCHEDULED
public static final FlowableEngineEventType TIMER_FIRED
public static final FlowableEngineEventType JOB_CANCELED
public static final FlowableEngineEventType JOB_EXECUTION_SUCCESS
public static final FlowableEngineEventType JOB_EXECUTION_FAILURE
ExceptionEvent.public static final FlowableEngineEventType JOB_RETRIES_DECREMENTED
public static final FlowableEngineEventType JOB_RESCHEDULED
public static final FlowableEngineEventType CUSTOM
public static final FlowableEngineEventType ENGINE_CREATED
public static final FlowableEngineEventType ENGINE_CLOSED
public static final FlowableEngineEventType ACTIVITY_STARTED
public static final FlowableEngineEventType ACTIVITY_COMPLETED
public static final FlowableEngineEventType ACTIVITY_CANCELLED
public static final FlowableEngineEventType MULTI_INSTANCE_ACTIVITY_STARTED
public static final FlowableEngineEventType MULTI_INSTANCE_ACTIVITY_COMPLETED
public static final FlowableEngineEventType MULTI_INSTANCE_ACTIVITY_COMPLETED_WITH_CONDITION
public static final FlowableEngineEventType MULTI_INSTANCE_ACTIVITY_CANCELLED
public static final FlowableEngineEventType ACTIVITY_SIGNAL_WAITING
public static final FlowableEngineEventType ACTIVITY_SIGNALED
public static final FlowableEngineEventType ACTIVITY_COMPENSATE
public static final FlowableEngineEventType ACTIVITY_MESSAGE_WAITING
public static final FlowableEngineEventType ACTIVITY_MESSAGE_RECEIVED
#ACTIVITY_SIGNALLED event or
ACTIVITY_COMPLETED for the involved activity, if the message was delivered successfully.public static final FlowableEngineEventType ACTIVITY_MESSAGE_CANCELLED
public static final FlowableEngineEventType ACTIVITY_ERROR_RECEIVED
#ACTIVITY_SIGNALLED event or
ACTIVITY_COMPLETED for the involved activity, if the error was delivered successfully.public static final FlowableEngineEventType HISTORIC_ACTIVITY_INSTANCE_CREATED
HistoricActivityInstance is created. This is a specialized version of the ENTITY_CREATED and
ENTITY_INITIALIZED event, with the same use case as the ACTIVITY_STARTED, but containing slightly different data.
Note this will be an FlowableEngineEventType, where the entity is the HistoricActivityInstance.
Note that history (minimum level ACTIVITY) must be enabled to receive this event.public static final FlowableEngineEventType HISTORIC_ACTIVITY_INSTANCE_ENDED
HistoricActivityInstance is marked as ended. his is a specialized version of the ENTITY_UPDATED event, with the same use case
as the ACTIVITY_COMPLETED, but containing slightly different data (e.g. the end time, the duration, etc.).
Note that history (minimum level ACTIVITY) must be enabled to receive this event.public static final FlowableEngineEventType SEQUENCEFLOW_TAKEN
public static final FlowableEngineEventType VARIABLE_CREATED
public static final FlowableEngineEventType VARIABLE_UPDATED
public static final FlowableEngineEventType VARIABLE_DELETED
public static final FlowableEngineEventType TASK_CREATED
public static final FlowableEngineEventType TASK_ASSIGNED
ENTITY_UPDATED event.public static final FlowableEngineEventType TASK_COMPLETED
ENTITY_DELETED). If the task is part of a process, this event is dispatched before the process moves on, as a
result of the task completion. In that case, a ACTIVITY_COMPLETED will be dispatched after an event of this type for the activity corresponding to the task.public static final FlowableEngineEventType PROCESS_CREATED
public static final FlowableEngineEventType PROCESS_STARTED
public static final FlowableEngineEventType PROCESS_COMPLETED
public static final FlowableEngineEventType PROCESS_COMPLETED_WITH_TERMINATE_END_EVENT
public static final FlowableEngineEventType PROCESS_COMPLETED_WITH_ERROR_END_EVENT
public static final FlowableEngineEventType PROCESS_CANCELLED
org.flowable.engine.impl.RuntimeServiceImpl#deleteProcessInstance(java.lang.String, java.lang.String), before DB delete.public static final FlowableEngineEventType HISTORIC_PROCESS_INSTANCE_CREATED
HistoricProcessInstance is created. This is a specialized version of the ENTITY_CREATED and
ENTITY_INITIALIZED event, with the same use case as the PROCESS_STARTED, but containing slightly different data (e.g. the start
time, the start user id, etc.).
Note this will be an FlowableEngineEventType, where the entity is the HistoricProcessInstance.
Note that history (minimum level ACTIVITY) must be enabled to receive this event.public static final FlowableEngineEventType HISTORIC_PROCESS_INSTANCE_ENDED
HistoricProcessInstance is marked as ended. his is a specialized version of the ENTITY_UPDATED event, with the same use case as
the PROCESS_COMPLETED, but containing slightly different data (e.g. the end time, the duration, etc.).
Note that history (minimum level ACTIVITY) must be enabled to receive this event.public static final FlowableEngineEventType[] EMPTY_ARRAY
public static FlowableEngineEventType[] values()
for (FlowableEngineEventType c : FlowableEngineEventType.values()) System.out.println(c);
public static FlowableEngineEventType 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 static FlowableEngineEventType[] getTypesFromString(String string)
string - the string containing a comma-separated list of event-type namesFlowableEngineEventType based on the given list.FlowableIllegalArgumentException - when one of the given string is not a valid type nameCopyright © 2018 Flowable. All rights reserved.