Package org.flowable.engine.impl.event
Class EventDefinitionExpressionUtil
java.lang.Object
org.flowable.engine.impl.event.EventDefinitionExpressionUtil
- Author:
- Joram Barrez
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringdetermineMessageName(CommandContext commandContext, 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, SignalEventDefinition signalEventDefinition, 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
- 
Constructor Details- 
EventDefinitionExpressionUtilpublic EventDefinitionExpressionUtil()
 
- 
- 
Method Details- 
determineSignalNamepublic static String determineSignalName(CommandContext commandContext, SignalEventDefinition signalEventDefinition, 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
- 
determineMessageNamepublic static String determineMessageName(CommandContext commandContext, 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)
 
-