public class EventDefinitionExpressionUtil extends Object
| Constructor and Description |
|---|
EventDefinitionExpressionUtil() |
| Modifier and Type | Method and 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 |
public static String determineSignalName(CommandContext commandContext, org.flowable.bpmn.model.SignalEventDefinition signalEventDefinition, org.flowable.bpmn.model.BpmnModel bpmnModel, DelegateExecution execution)
SignalEventDefinition that is passed:
- if a signal name is set, it has precedence
- otherwise, the signal ref is used
- unless a signalExpression is setpublic static String determineMessageName(CommandContext commandContext, org.flowable.bpmn.model.MessageEventDefinition messageEventDefinition, DelegateExecution execution)
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)Copyright © 2020 Flowable. All rights reserved.