org.camunda.bpm.engine.impl.bpmn.behavior
Class ThrowSignalEventActivityBehavior

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
      extended by org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
 
Field Summary
protected static BpmnBehaviorLogger LOG
           
protected  EventSubscriptionDeclaration signalDefinition
           
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
 
Constructor Summary
ThrowSignalEventActivityBehavior(EventSubscriptionDeclaration signalDefinition)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 Exception
Description copied from class: FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.

Specified by:
execute in interface CoreActivityBehavior<ActivityExecution>
Specified by:
execute in interface ActivityBehavior
Overrides:
execute in class FlowNodeActivityBehavior
Throws:
Exception

findSignalEventSubscriptions

protected List<EventSubscriptionEntity> findSignalEventSubscriptions(String signalName,
                                                                     String tenantId)

isActiveEventSubscription

protected boolean isActiveEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity)

isStartEventSubscription

protected boolean isStartEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity)

isActiveIntermediateEventSubscription

protected boolean isActiveIntermediateEventSubscription(EventSubscriptionEntity signalEventSubscriptionEntity)


Copyright © 2017 camunda services GmbH. All rights reserved.