Class FlowableEngineEventImpl
java.lang.Object
org.flowable.common.engine.impl.event.FlowableEventImpl
org.flowable.common.engine.impl.event.FlowableEngineEventImpl
- All Implemented Interfaces:
FlowableEngineEvent
,FlowableEvent
- Direct Known Subclasses:
FlowableCaseEndedEventImpl
,FlowableCaseStageEndedEventImpl
,FlowableCaseStageStartedEventImpl
,FlowableCaseStartedEventImpl
,FlowableEntityEventImpl
,FlowableEntityExceptionEventImpl
,FlowableProcessEventImpl
,FlowableVariableEventImpl
Base class for all
FlowableEngineEvent
implementations.- Author:
- Frederik Heremans
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
Fields inherited from class org.flowable.common.engine.impl.event.FlowableEventImpl
type
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new event implementation, not part of an execution context.FlowableEngineEventImpl
(FlowableEngineEventType type, String executionId, String processInstanceId, String processDefinitionId) Creates a new event implementation, part of an execution context.FlowableEngineEventImpl
(FlowableEngineEventType type, String scopeType, String scopeId, String subScopeId, String scopeDefinitionId) Creates a new event implementation, part of an execution context. -
Method Summary
Modifier and TypeMethodDescriptionThe scope definition id of the entity associated with this event.The scope id of the entity associated with this event.The scope type of the entity associated with this event.The sub scope id of the entity associated with this event.getType()
void
setExecutionId
(String executionId) void
setProcessDefinitionId
(String processDefinitionId) void
setProcessInstanceId
(String processInstanceId) void
setScopeDefinitionId
(String scopeDefinitionId) void
setScopeId
(String scopeId) void
setScopeType
(String scopeType) void
setSubScopeId
(String subScopeId) void
Methods inherited from class org.flowable.common.engine.impl.event.FlowableEventImpl
toString
-
Field Details
-
scopeType
-
scopeId
-
subScopeId
-
scopeDefinitionId
-
-
Constructor Details
-
FlowableEngineEventImpl
Creates a new event implementation, not part of an execution context. -
FlowableEngineEventImpl
public FlowableEngineEventImpl(FlowableEngineEventType type, String executionId, String processInstanceId, String processDefinitionId) Creates a new event implementation, part of an execution context. -
FlowableEngineEventImpl
public FlowableEngineEventImpl(FlowableEngineEventType type, String scopeType, String scopeId, String subScopeId, String scopeDefinitionId) Creates a new event implementation, part of an execution context.
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceFlowableEvent
- Overrides:
getType
in classFlowableEventImpl
- Returns:
- type of event.
-
setType
-
getExecutionId
- Specified by:
getExecutionId
in interfaceFlowableEngineEvent
- 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:
getProcessDefinitionId
in interfaceFlowableEngineEvent
- 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:
getProcessInstanceId
in interfaceFlowableEngineEvent
- 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
-
getScopeType
Description copied from interface:FlowableEngineEvent
The scope type of the entity associated with this event.- Specified by:
getScopeType
in interfaceFlowableEngineEvent
-
setScopeType
-
getScopeId
Description copied from interface:FlowableEngineEvent
The scope id of the entity associated with this event.- Specified by:
getScopeId
in interfaceFlowableEngineEvent
-
setScopeId
-
getSubScopeId
Description copied from interface:FlowableEngineEvent
The sub scope id of the entity associated with this event.- Specified by:
getSubScopeId
in interfaceFlowableEngineEvent
-
setSubScopeId
-
getScopeDefinitionId
Description copied from interface:FlowableEngineEvent
The scope definition id of the entity associated with this event.- Specified by:
getScopeDefinitionId
in interfaceFlowableEngineEvent
-
setScopeDefinitionId
-