public enum ActivitiEventType extends Enum<ActivitiEventType>
ActivitiEvent
s.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_RECEIVED
An activity has received a message event.
|
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 child-entities that are created as a result of the creation of this
particular entity are also created and initialized.
|
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_RETRIES_DECREMENTED
The retry-count on a job has been decremented.
|
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.
|
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_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.
|
UNCAUGHT_BPMN_ERROR
When a BPMN Error was thrown, but was not caught within in the process.
|
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 ActivitiEventType[] |
EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
static ActivitiEventType[] |
getTypesFromString(String string) |
static ActivitiEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivitiEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivitiEventType ENTITY_CREATED
public static final ActivitiEventType ENTITY_INITIALIZED
public static final ActivitiEventType ENTITY_UPDATED
public static final ActivitiEventType ENTITY_DELETED
public static final ActivitiEventType ENTITY_SUSPENDED
public static final ActivitiEventType ENTITY_ACTIVATED
public static final ActivitiEventType TIMER_FIRED
public static final ActivitiEventType JOB_CANCELED
public static final ActivitiEventType JOB_EXECUTION_SUCCESS
public static final ActivitiEventType JOB_EXECUTION_FAILURE
ActivitiExceptionEvent
.public static final ActivitiEventType JOB_RETRIES_DECREMENTED
public static final ActivitiEventType CUSTOM
public static final ActivitiEventType ENGINE_CREATED
public static final ActivitiEventType ENGINE_CLOSED
public static final ActivitiEventType ACTIVITY_STARTED
public static final ActivitiEventType ACTIVITY_COMPLETED
public static final ActivitiEventType ACTIVITY_CANCELLED
public static final ActivitiEventType ACTIVITY_SIGNALED
public static final ActivitiEventType ACTIVITY_COMPENSATE
public static final ActivitiEventType ACTIVITY_MESSAGE_RECEIVED
#ACTIVITY_SIGNALLED
event or #ACTIVITY_COMPLETE
for the involved activity, if the message was delivered successfully.public static final ActivitiEventType ACTIVITY_ERROR_RECEIVED
#ACTIVITY_SIGNALLED
event or #ACTIVITY_COMPLETE
for the involved activity, if the error was delivered successfully.public static final ActivitiEventType 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 ActivitiEntityEvent
, where the entity is the HistoricActivityInstance
.
Note that history (minimum level ACTIVITY) must be enabled to receive this event.public static final ActivitiEventType 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 ActivitiEventType SEQUENCEFLOW_TAKEN
public static final ActivitiEventType UNCAUGHT_BPMN_ERROR
public static final ActivitiEventType VARIABLE_CREATED
public static final ActivitiEventType VARIABLE_UPDATED
public static final ActivitiEventType VARIABLE_DELETED
public static final ActivitiEventType TASK_CREATED
public static final ActivitiEventType TASK_ASSIGNED
ENTITY_UPDATED
event.public static final ActivitiEventType 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 ActivitiEventType PROCESS_STARTED
public static final ActivitiEventType PROCESS_COMPLETED
public static final ActivitiEventType PROCESS_COMPLETED_WITH_ERROR_END_EVENT
public static final ActivitiEventType PROCESS_CANCELLED
org.activiti.engine.impl.RuntimeServiceImpl#deleteProcessInstance(java.lang.String, java.lang.String), before
DB delete.
public static final ActivitiEventType 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 ActivitiEntityEvent
, where the entity is the HistoricProcessInstance
.
Note that history (minimum level ACTIVITY) must be enabled to receive this event.public static final ActivitiEventType 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 ActivitiEventType MEMBERSHIP_CREATED
public static final ActivitiEventType MEMBERSHIP_DELETED
public static final ActivitiEventType MEMBERSHIPS_DELETED
MEMBERSHIP_DELETED
events 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.public static final ActivitiEventType[] EMPTY_ARRAY
public static ActivitiEventType[] values()
for (ActivitiEventType c : ActivitiEventType.values()) System.out.println(c);
public static ActivitiEventType 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 ActivitiEventType[] getTypesFromString(String string)
string
- the string containing a comma-separated list of event-type namesActivitiEventType
based on the given list.ActivitiIllegalArgumentException
- when one of the given string is not a valid type nameCopyright © 2016 Alfresco. All rights reserved.