public class ExternalTaskActivityBehavior extends AbstractBpmnActivityBehavior implements MigrationObserverBehavior
| Modifier and Type | Field and Description |
|---|---|
protected ParameterValueProvider |
priorityValueProvider |
protected ParameterValueProvider |
topicNameValueProvider |
LOGbpmnActivityBehavior| Constructor and Description |
|---|
ExternalTaskActivityBehavior(ParameterValueProvider topicName,
ParameterValueProvider paramValueProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
ParameterValueProvider |
getPriorityValueProvider() |
void |
migrateScope(ActivityExecution scopeExecution)
Implement to perform activity-specific migration behavior that is not
covered by the regular migration procedure.
|
void |
onParseMigratingInstance(MigratingInstanceParseContext parseContext,
MigratingActivityInstance migratingInstance)
Callback to implement behavior specific parsing (e.g.
|
void |
propagateBpmnError(BpmnError error,
ActivityExecution execution)
It's used to propagate the bpmn error from an external task.
|
void |
signal(ActivityExecution execution,
String signalName,
Object signalData) |
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signalCompensationDoneleave, leaveIgnoreConditionsprotected ParameterValueProvider topicNameValueProvider
protected ParameterValueProvider priorityValueProvider
public ExternalTaskActivityBehavior(ParameterValueProvider topicName, ParameterValueProvider paramValueProvider)
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehaviorexecute in interface CoreActivityBehavior<ActivityExecution>execute in interface ActivityBehaviorexecute in class FlowNodeActivityBehaviorExceptionpublic void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception
signal in interface SignallableActivityBehaviorsignal in class AbstractBpmnActivityBehaviorExceptionpublic ParameterValueProvider getPriorityValueProvider()
public void propagateBpmnError(BpmnError error, ActivityExecution execution) throws Exception
error - the error which should be propagatedexecution - the current activity executionException - throws an exception if no handler was foundpublic void migrateScope(ActivityExecution scopeExecution)
MigrationObserverBehaviormigrateScope in interface MigrationObserverBehaviorpublic void onParseMigratingInstance(MigratingInstanceParseContext parseContext, MigratingActivityInstance migratingInstance)
MigrationObserverBehavioronParseMigratingInstance in interface MigrationObserverBehaviorCopyright © 2013–2019 camunda services GmbH. All rights reserved.