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 Stringprotected Stringprotected Stringprotected StringFields 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()voidsetExecutionId(String executionId) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessInstanceId(String processInstanceId) voidsetScopeDefinitionId(String scopeDefinitionId) voidsetScopeId(String scopeId) voidsetScopeType(String scopeType) voidsetSubScopeId(String subScopeId) voidMethods 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:
getTypein interfaceFlowableEvent- Overrides:
getTypein classFlowableEventImpl- Returns:
- type of event.
-
setType
-
getExecutionId
- Specified by:
getExecutionIdin 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:
getProcessDefinitionIdin 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:
getProcessInstanceIdin 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:FlowableEngineEventThe scope type of the entity associated with this event.- Specified by:
getScopeTypein interfaceFlowableEngineEvent
-
setScopeType
-
getScopeId
Description copied from interface:FlowableEngineEventThe scope id of the entity associated with this event.- Specified by:
getScopeIdin interfaceFlowableEngineEvent
-
setScopeId
-
getSubScopeId
Description copied from interface:FlowableEngineEventThe sub scope id of the entity associated with this event.- Specified by:
getSubScopeIdin interfaceFlowableEngineEvent
-
setSubScopeId
-
getScopeDefinitionId
Description copied from interface:FlowableEngineEventThe scope definition id of the entity associated with this event.- Specified by:
getScopeDefinitionIdin interfaceFlowableEngineEvent
-
setScopeDefinitionId
-