public class ThrowSignalEventActivityBehavior extends AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
Modifier and Type | Field and Description |
---|---|
protected static BpmnBehaviorLogger |
LOG |
protected EventSubscriptionDeclaration |
signalDefinition |
bpmnActivityBehavior
Constructor and Description |
---|
ThrowSignalEventActivityBehavior(EventSubscriptionDeclaration signalDefinition) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
protected List<EventSubscriptionEntity> |
findSignalEventSubscriptions(String signalName,
String tenantId) |
protected boolean |
isActiveEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity) |
protected boolean |
isActiveIntermediateEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity) |
protected boolean |
isStartEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity) |
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone
leave, leaveIgnoreConditions
protected static final BpmnBehaviorLogger LOG
protected final EventSubscriptionDeclaration signalDefinition
public ThrowSignalEventActivityBehavior(EventSubscriptionDeclaration signalDefinition)
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehavior
execute
in interface CoreActivityBehavior<ActivityExecution>
execute
in interface ActivityBehavior
execute
in class FlowNodeActivityBehavior
Exception
protected List<EventSubscriptionEntity> findSignalEventSubscriptions(String signalName, String tenantId)
protected boolean isActiveEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity)
protected boolean isStartEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity)
protected boolean isActiveIntermediateEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity)
Copyright © 2017. All rights reserved.