public class EventInstanceBpmnUtil extends Object
| Constructor and Description |
|---|
EventInstanceBpmnUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected 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 to
EventPayloadInstance instances. |
static void |
handleEventInstanceOutParameters(VariableScope variableScope,
BaseElement baseElement,
EventInstance eventInstance)
Processes the 'out parameters' of an
EventInstance and stores the corresponding variables on the VariableScope. |
protected static void |
setEventParameterVariable(String source,
String target,
boolean isTransient,
Map<String,EventPayloadInstance> payloadInstances,
VariableScope variableScope) |
public static void handleEventInstanceOutParameters(VariableScope variableScope, BaseElement baseElement, EventInstance eventInstance)
EventInstance and stores the corresponding variables on the VariableScope.
Typically used when mapping incoming event payload into a runtime instance (the VariableScope).public static Collection<EventPayloadInstance> createEventPayloadInstances(VariableScope variableScope, ExpressionManager expressionManager, BaseElement baseElement, EventModel eventDefinition)
EventPayloadInstance instances.
Typically used when needing to create EventInstance's and populate the payload.protected static void setEventParameterVariable(String source, String target, boolean isTransient, Map<String,EventPayloadInstance> payloadInstances, VariableScope variableScope)
protected static void addEventPayloadInstance(List<EventPayloadInstance> eventPayloadInstances, String source, String target, VariableScope variableScope, ExpressionManager expressionManager, EventModel eventDefinition)
Copyright © 2023 Flowable. All rights reserved.