Class ThrowSignalEventActivityBehavior
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.ThrowSignalEventActivityBehavior
-
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>
,ActivityBehavior
,SignallableActivityBehavior
public class ThrowSignalEventActivityBehavior extends AbstractBpmnActivityBehavior
Defines activity behavior for signal end event and intermediate throw signal event.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected static BpmnBehaviorLogger
LOG
protected EventSubscriptionDeclaration
signalDefinition
-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
-
Constructor Summary
Constructors Constructor Description ThrowSignalEventActivityBehavior(EventSubscriptionDeclaration signalDefinition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.protected java.util.List<EventSubscriptionEntity>
findSignalEventSubscriptions(java.lang.String signalName, java.lang.String tenantId)
protected boolean
isActiveEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity)
protected boolean
isActiveIntermediateEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity)
protected boolean
isStartEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity)
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDone
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
-
-
-
Field Detail
-
LOG
protected static final BpmnBehaviorLogger LOG
-
signalDefinition
protected final EventSubscriptionDeclaration signalDefinition
-
-
Constructor Detail
-
ThrowSignalEventActivityBehavior
public ThrowSignalEventActivityBehavior(EventSubscriptionDeclaration signalDefinition)
-
-
Method Detail
-
execute
public void execute(ActivityExecution execution) throws java.lang.Exception
Description copied from class:FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.- Specified by:
execute
in interfaceActivityBehavior
- Specified by:
execute
in interfaceCoreActivityBehavior<ActivityExecution>
- Overrides:
execute
in classFlowNodeActivityBehavior
- Throws:
java.lang.Exception
-
findSignalEventSubscriptions
protected java.util.List<EventSubscriptionEntity> findSignalEventSubscriptions(java.lang.String signalName, java.lang.String tenantId)
-
isActiveEventSubscription
protected boolean isActiveEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity)
-
isStartEventSubscription
protected boolean isStartEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity)
-
isActiveIntermediateEventSubscription
protected boolean isActiveIntermediateEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity)
-
-