Class FlowableVariableEventBuilder
java.lang.Object
org.flowable.variable.service.event.impl.FlowableVariableEventBuilder
Builder class used to create
FlowableEvent
implementations.- Author:
- Frederik Heremans
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowableEntityEvent
createEntityEvent
(FlowableEngineEventType type, Object entity) static FlowableVariableEvent
createVariableEvent
(FlowableEngineEventType type, VariableInstance variableInstance, Object variableValue, VariableType variableType)
-
Constructor Details
-
FlowableVariableEventBuilder
public FlowableVariableEventBuilder()
-
-
Method Details
-
createEntityEvent
- Parameters:
type
- type of evententity
- the entity this event targets- Returns:
- an
FlowableEntityEvent
. In case an ExecutionContext is active, the execution related event fields will be populated. If not, execution details will be retrieved from theObject
if possible.
-
createVariableEvent
public static FlowableVariableEvent createVariableEvent(FlowableEngineEventType type, VariableInstance variableInstance, Object variableValue, VariableType variableType)
-