Package org.flowable.engine.impl.util
Class EventInstanceBpmnUtil
java.lang.Object
org.flowable.engine.impl.util.EventInstanceBpmnUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addEventPayloadInstance
(List<EventPayloadInstance> eventPayloadInstances, String source, String target, VariableScope variableScope, ExpressionManager expressionManager, EventModel eventDefinition) static 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
.protected static void
setEventParameterVariable
(String source, String target, boolean isTransient, Map<String, EventPayloadInstance> payloadInstances, VariableScope variableScope)
-
Constructor Details
-
EventInstanceBpmnUtil
public EventInstanceBpmnUtil()
-
-
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 (theVariableScope
). -
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. -
setEventParameterVariable
protected static void setEventParameterVariable(String source, String target, boolean isTransient, Map<String, EventPayloadInstance> payloadInstances, VariableScope variableScope) -
addEventPayloadInstance
protected static void addEventPayloadInstance(List<EventPayloadInstance> eventPayloadInstances, String source, String target, VariableScope variableScope, ExpressionManager expressionManager, EventModel eventDefinition)
-