Class EventInstanceCmmnUtil
java.lang.Object
org.flowable.cmmn.engine.impl.util.EventInstanceCmmnUtil
- Author:
- Filip Hrisafov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<EventPayloadInstance>
createEventPayloadInstances
(VariableScope variableScope, ExpressionManager expressionManager, BaseElement baseElement, EventModel eventDefinition) Reads the 'in parameters' and converts them toEventPayloadInstance
instances.static void
handleEventInstanceOutParameters
(VariableScope variableScope, BaseElement baseElement, EventInstance eventInstance) Processes the 'out parameters' of anEventInstance
and stores the corresponding variables on theVariableScope
.
-
Constructor Details
-
EventInstanceCmmnUtil
public EventInstanceCmmnUtil()
-
-
Method Details
-
handleEventInstanceOutParameters
public static void handleEventInstanceOutParameters(VariableScope variableScope, BaseElement baseElement, EventInstance eventInstance) Processes the 'out parameters' of anEventInstance
and stores the corresponding variables on theVariableScope
. Typically used when mapping incoming event payload into a runtime instance. -
createEventPayloadInstances
public static Collection<EventPayloadInstance> createEventPayloadInstances(VariableScope variableScope, ExpressionManager expressionManager, BaseElement baseElement, EventModel eventDefinition) Reads the 'in parameters' and converts them toEventPayloadInstance
instances. Typically used when needing to createEventInstance
's and populate the payload.
-