Package org.flowable.engine.impl.util
Class EventInstanceBpmnUtil
- java.lang.Object
-
- org.flowable.engine.impl.util.EventInstanceBpmnUtil
-
public class EventInstanceBpmnUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description EventInstanceBpmnUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voidaddEventPayloadInstance(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 toEventPayloadInstanceinstances.static voidhandleEventInstanceOutParameters(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 anEventInstanceand stores the corresponding variables on theVariableScope.protected static voidsetEventParameterVariable(String source, String target, boolean isTransient, Map<String,org.flowable.eventregistry.api.runtime.EventPayloadInstance> payloadInstances, org.flowable.variable.api.delegate.VariableScope variableScope)
-
-
-
Method Detail
-
handleEventInstanceOutParameters
public 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 anEventInstanceand stores the corresponding variables on theVariableScope. Typically used when mapping incoming event payload into a runtime instance (theVariableScope).
-
createEventPayloadInstances
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)
Reads the 'in parameters' and converts them toEventPayloadInstanceinstances. Typically used when needing to createEventInstance's and populate the payload.
-
setEventParameterVariable
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)
-
addEventPayloadInstance
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)
-
-