Package org.flowable.engine.impl.event
Class EventDefinitionExpressionUtil
- java.lang.Object
-
- org.flowable.engine.impl.event.EventDefinitionExpressionUtil
-
public class EventDefinitionExpressionUtil extends Object
- Author:
- Joram Barrez
-
-
Constructor Summary
Constructors Constructor Description EventDefinitionExpressionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringdetermineMessageName(CommandContext commandContext, org.flowable.bpmn.model.MessageEventDefinition messageEventDefinition, DelegateExecution execution)Determines the event name of theMessageEventDefinitionthat 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 StringdetermineSignalName(CommandContext commandContext, org.flowable.bpmn.model.SignalEventDefinition signalEventDefinition, org.flowable.bpmn.model.BpmnModel bpmnModel, DelegateExecution execution)Determines the signal name of theSignalEventDefinitionthat is passed: - if a signal name is set, it has precedence - otherwise, the signal ref is used - unless a signalExpression is set
-
-
-
Method Detail
-
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 theSignalEventDefinitionthat 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 theMessageEventDefinitionthat 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)
-
-