public class ExternalTaskActivityBehavior extends AbstractBpmnActivityBehavior implements MigrationObserverBehavior
Modifier and Type | Field and Description |
---|---|
protected ParameterValueProvider |
priorityValueProvider |
protected ParameterValueProvider |
topicNameValueProvider |
LOG
bpmnActivityBehavior
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 |
signal(ActivityExecution execution,
String signalName,
Object signalData) |
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signalCompensationDone
leave, leaveIgnoreConditions
protected ParameterValueProvider topicNameValueProvider
protected ParameterValueProvider priorityValueProvider
public ExternalTaskActivityBehavior(ParameterValueProvider topicName, ParameterValueProvider paramValueProvider)
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehavior
execute
in interface CoreActivityBehavior<ActivityExecution>
execute
in interface ActivityBehavior
execute
in class FlowNodeActivityBehavior
Exception
public void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception
signal
in interface SignallableActivityBehavior
signal
in class AbstractBpmnActivityBehavior
Exception
public ParameterValueProvider getPriorityValueProvider()
public void migrateScope(ActivityExecution scopeExecution)
MigrationObserverBehavior
migrateScope
in interface MigrationObserverBehavior
public void onParseMigratingInstance(MigratingInstanceParseContext parseContext, MigratingActivityInstance migratingInstance)
MigrationObserverBehavior
onParseMigratingInstance
in interface MigrationObserverBehavior
Copyright © 2019. All rights reserved.