Class ActivitiEventImpl
java.lang.Object
org.activiti.engine.delegate.event.impl.ActivitiEventImpl
- All Implemented Interfaces:
ActivitiEvent
- Direct Known Subclasses:
ActivitiActivityEventImpl,ActivitiEntityEventImpl,ActivitiEntityExceptionEventImpl,ActivitiMembershipEventImpl,ActivitiSequenceFlowTakenEventImpl,ActivitiVariableEventImpl
Base class for all
ActivitiEvent implementations.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected ActivitiEventType -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new event implementation, not part of an execution context.ActivitiEventImpl(ActivitiEventType type, String executionId, String processInstanceId, String processDefinitionId) Creates a new event implementation, part of an execution context. -
Method Summary
Modifier and TypeMethodDescriptiongetActor()getType()voidvoidsetExecutionId(String executionId) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessInstanceId(String processInstanceId) voidvoidsetType(ActivitiEventType type) toString()
-
Field Details
-
type
-
executionId
-
processInstanceId
-
processDefinitionId
-
-
Constructor Details
-
ActivitiEventImpl
Creates a new event implementation, not part of an execution context. -
ActivitiEventImpl
public ActivitiEventImpl(ActivitiEventType type, String executionId, String processInstanceId, String processDefinitionId) Creates a new event implementation, part of an execution context.
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceActivitiEvent- Returns:
- type of event.
-
setType
-
getExecutionId
- Specified by:
getExecutionIdin interfaceActivitiEvent- Returns:
- the id of the execution this event is associated with. Returns null, if the event was not dispatched from within an active execution.
-
setExecutionId
-
getProcessDefinitionId
- Specified by:
getProcessDefinitionIdin interfaceActivitiEvent- Returns:
- the id of the process definition this event is associated with. Returns null, if the event was not dispatched from within an active execution.
-
setProcessDefinitionId
-
getProcessInstanceId
- Specified by:
getProcessInstanceIdin interfaceActivitiEvent- Returns:
- the id of the process instance this event is associated with. Returns null, if the event was not dispatched from within an active execution.
-
setProcessInstanceId
-
toString
-
getReason
-
setReason
-
getActor
-
setActor
-