Package org.flowable.engine.impl.event
Class EventDefinitionExpressionUtil
java.lang.Object
org.flowable.engine.impl.event.EventDefinitionExpressionUtil
- Author:
- Joram Barrez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
determineMessageName
(CommandContext commandContext, MessageEventDefinition messageEventDefinition, DelegateExecution execution) Determines the event name of theMessageEventDefinition
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, SignalEventDefinition signalEventDefinition, BpmnModel bpmnModel, DelegateExecution execution) Determines the signal name of theSignalEventDefinition
that is passed: - if a signal name is set, it has precedence - otherwise, the signal ref is used - unless a signalExpression is set
-
Constructor Details
-
EventDefinitionExpressionUtil
public EventDefinitionExpressionUtil()
-
-
Method Details
-
determineSignalName
public static String determineSignalName(CommandContext commandContext, SignalEventDefinition signalEventDefinition, BpmnModel bpmnModel, DelegateExecution execution) Determines the signal name of theSignalEventDefinition
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, MessageEventDefinition messageEventDefinition, DelegateExecution execution) Determines the event name of theMessageEventDefinition
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)
-