Class ExternalTaskActivityBehavior
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.ExternalTaskActivityBehavior
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>,ActivityBehavior,MigrationObserverBehavior,SignallableActivityBehavior
public class ExternalTaskActivityBehavior
extends AbstractBpmnActivityBehavior
implements MigrationObserverBehavior
Implements behavior of external task activities, i.e. all service-task-like
activities that have camunda:type="external".
- Author:
- Thorben Lindhauer, Christopher Zell
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ParameterValueProviderprotected ParameterValueProviderFields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOGFields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior -
Constructor Summary
ConstructorsConstructorDescriptionExternalTaskActivityBehavior(ParameterValueProvider topicName, ParameterValueProvider paramValueProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ActivityExecution execution) Default behaviour: just leave the activity with no extra functionality.voidmigrateScope(ActivityExecution scopeExecution) Implement to perform activity-specific migration behavior that is not covered by the regular migration procedure.voidonParseMigratingInstance(MigratingInstanceParseContext parseContext, MigratingActivityInstance migratingInstance) Callback to implement behavior specific parsing (e.g.voidsignal(ActivityExecution execution, String signalName, Object signalData) Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signalCompensationDoneMethods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
Field Details
-
topicNameValueProvider
-
priorityValueProvider
-
-
Constructor Details
-
ExternalTaskActivityBehavior
public ExternalTaskActivityBehavior(ParameterValueProvider topicName, ParameterValueProvider paramValueProvider)
-
-
Method Details
-
execute
Description copied from class:FlowNodeActivityBehaviorDefault behaviour: just leave the activity with no extra functionality.- Specified by:
executein interfaceActivityBehavior- Specified by:
executein interfaceCoreActivityBehavior<ActivityExecution>- Overrides:
executein classFlowNodeActivityBehavior- Throws:
Exception
-
signal
public void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception - Specified by:
signalin interfaceSignallableActivityBehavior- Overrides:
signalin classAbstractBpmnActivityBehavior- Throws:
Exception
-
getPriorityValueProvider
-
migrateScope
Description copied from interface:MigrationObserverBehaviorImplement to perform activity-specific migration behavior that is not covered by the regular migration procedure. Called after the scope execution and any ancestor executions have been migrated to their target activities and process definition.- Specified by:
migrateScopein interfaceMigrationObserverBehavior
-
onParseMigratingInstance
public void onParseMigratingInstance(MigratingInstanceParseContext parseContext, MigratingActivityInstance migratingInstance) Description copied from interface:MigrationObserverBehaviorCallback to implement behavior specific parsing (e.g. adding additional dependent entities).- Specified by:
onParseMigratingInstancein interfaceMigrationObserverBehavior
-