Class EventDefinitionExpressionUtil

java.lang.Object
org.flowable.engine.impl.event.EventDefinitionExpressionUtil

public class EventDefinitionExpressionUtil extends Object
Author:
Joram Barrez
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    determineMessageName(CommandContext commandContext, org.flowable.bpmn.model.MessageEventDefinition messageEventDefinition, DelegateExecution execution)
    Determines the event name of the MessageEventDefinition that is passed: - if a message ref is set, it has precedence - if a messageExpression is set, it is returned Note that, contrary to the determineSignalName method, the name of the message is never used.
    static String
    determineSignalName(CommandContext commandContext, org.flowable.bpmn.model.SignalEventDefinition signalEventDefinition, org.flowable.bpmn.model.BpmnModel bpmnModel, DelegateExecution execution)
    Determines the signal name of the SignalEventDefinition that is passed: - if a signal name is set, it has precedence - otherwise, the signal ref is used - unless a signalExpression is set

    Methods inherited from class java.lang.Object

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

    • EventDefinitionExpressionUtil

      public EventDefinitionExpressionUtil()
  • Method Details

    • determineSignalName

      public static String determineSignalName(CommandContext commandContext, org.flowable.bpmn.model.SignalEventDefinition signalEventDefinition, org.flowable.bpmn.model.BpmnModel bpmnModel, DelegateExecution execution)
      Determines the signal name of the SignalEventDefinition that is passed: - if a signal name is set, it has precedence - otherwise, the signal ref is used - unless a signalExpression is set
    • determineMessageName

      public static String determineMessageName(CommandContext commandContext, org.flowable.bpmn.model.MessageEventDefinition messageEventDefinition, DelegateExecution execution)
      Determines the event name of the MessageEventDefinition that is passed: - if a message ref is set, it has precedence - if a messageExpression is set, it is returned Note that, contrary to the determineSignalName method, the name of the message is never used. This is because of historical reasons (and it can't be changed now without breaking existing models/instances)