Class EventInstanceCmmnUtil

java.lang.Object
org.flowable.cmmn.engine.impl.util.EventInstanceCmmnUtil

public class EventInstanceCmmnUtil extends Object
Author:
Filip Hrisafov
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Collection<org.flowable.eventregistry.api.runtime.EventPayloadInstance>
    createEventPayloadInstances(org.flowable.variable.api.delegate.VariableScope variableScope, ExpressionManager expressionManager, org.flowable.cmmn.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.cmmn.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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EventInstanceCmmnUtil

      public EventInstanceCmmnUtil()
  • Method Details

    • handleEventInstanceOutParameters

      public static void handleEventInstanceOutParameters(org.flowable.variable.api.delegate.VariableScope variableScope, org.flowable.cmmn.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. Typically used when mapping incoming event payload into a runtime instance.
    • createEventPayloadInstances

      public static Collection<org.flowable.eventregistry.api.runtime.EventPayloadInstance> createEventPayloadInstances(org.flowable.variable.api.delegate.VariableScope variableScope, ExpressionManager expressionManager, org.flowable.cmmn.model.BaseElement baseElement, org.flowable.eventregistry.model.EventModel eventDefinition)
      Reads the 'in parameters' and converts them to EventPayloadInstance instances. Typically used when needing to create EventInstance's and populate the payload.