public class EventInstanceBpmnUtil extends Object
| Constructor and Description |
|---|
EventInstanceBpmnUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addEventPayloadInstance(List<org.flowable.eventregistry.api.runtime.EventPayloadInstance> eventPayloadInstances,
String source,
String target,
org.flowable.variable.api.delegate.VariableScope variableScope,
ExpressionManager expressionManager,
org.flowable.eventregistry.model.EventModel eventDefinition) |
static Collection<org.flowable.eventregistry.api.runtime.EventPayloadInstance> |
createEventPayloadInstances(org.flowable.variable.api.delegate.VariableScope variableScope,
ExpressionManager expressionManager,
org.flowable.bpmn.model.BaseElement baseElement,
org.flowable.eventregistry.model.EventModel eventDefinition)
Reads the 'in parameters' and converts them to
EventPayloadInstance instances. |
static void |
handleEventInstanceOutParameters(org.flowable.variable.api.delegate.VariableScope variableScope,
org.flowable.bpmn.model.BaseElement baseElement,
org.flowable.eventregistry.api.runtime.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,org.flowable.eventregistry.api.runtime.EventPayloadInstance> payloadInstances,
org.flowable.variable.api.delegate.VariableScope variableScope) |
public static void handleEventInstanceOutParameters(org.flowable.variable.api.delegate.VariableScope variableScope,
org.flowable.bpmn.model.BaseElement baseElement,
org.flowable.eventregistry.api.runtime.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<org.flowable.eventregistry.api.runtime.EventPayloadInstance> createEventPayloadInstances(org.flowable.variable.api.delegate.VariableScope variableScope, ExpressionManager expressionManager, org.flowable.bpmn.model.BaseElement baseElement, org.flowable.eventregistry.model.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,org.flowable.eventregistry.api.runtime.EventPayloadInstance> payloadInstances, org.flowable.variable.api.delegate.VariableScope variableScope)
protected static void addEventPayloadInstance(List<org.flowable.eventregistry.api.runtime.EventPayloadInstance> eventPayloadInstances, String source, String target, org.flowable.variable.api.delegate.VariableScope variableScope, ExpressionManager expressionManager, org.flowable.eventregistry.model.EventModel eventDefinition)
Copyright © 2020 Flowable. All rights reserved.