Class UserTaskActivityBehavior
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.TaskActivityBehavior
org.camunda.bpm.engine.impl.bpmn.behavior.UserTaskActivityBehavior
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>
,ActivityBehavior
,MigrationObserverBehavior
,SignallableActivityBehavior
public class UserTaskActivityBehavior
extends TaskActivityBehavior
implements MigrationObserverBehavior
activity implementation for the user task.
- Author:
- Joram Barrez, Roman Smirnov
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
activityInstanceId
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOG
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
Constructor Summary
ConstructorDescriptionUserTaskActivityBehavior
(ExpressionManager expressionManager, TaskDefinition taskDefinition) Deprecated.UserTaskActivityBehavior
(TaskDecorator taskDecorator) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
performExecution
(ActivityExecution execution) The method which should be overridden by the sub classes to perform an execution.void
signal
(ActivityExecution execution, String signalName, Object signalData) Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
execute, postExecution, preExecution
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signalCompensationDone
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
Field Details
-
taskDecorator
-
-
Constructor Details
-
UserTaskActivityBehavior
@Deprecated public UserTaskActivityBehavior(ExpressionManager expressionManager, TaskDefinition taskDefinition) Deprecated. -
UserTaskActivityBehavior
-
-
Method Details
-
performExecution
Description copied from class:TaskActivityBehavior
The method which should be overridden by the sub classes to perform an execution.- Overrides:
performExecution
in classTaskActivityBehavior
- Parameters:
execution
- the execution which is used during performing the execution- Throws:
Exception
-
signal
public void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception - Specified by:
signal
in interfaceSignallableActivityBehavior
- Overrides:
signal
in classAbstractBpmnActivityBehavior
- Throws:
Exception
-
migrateScope
Description copied from interface:MigrationObserverBehavior
Implement 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:
migrateScope
in interfaceMigrationObserverBehavior
-
onParseMigratingInstance
public void onParseMigratingInstance(MigratingInstanceParseContext parseContext, MigratingActivityInstance migratingInstance) Description copied from interface:MigrationObserverBehavior
Callback to implement behavior specific parsing (e.g. adding additional dependent entities).- Specified by:
onParseMigratingInstance
in interfaceMigrationObserverBehavior
-
getTaskDefinition
-
getExpressionManager
-
getTaskDecorator
-