org.camunda.bpm.engine.impl.bpmn.behavior
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
| Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior |
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, leave, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signalCompensationDone |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
taskDecorator
protected TaskDecorator taskDecorator
UserTaskActivityBehavior
@Deprecated
public UserTaskActivityBehavior(ExpressionManager expressionManager,
TaskDefinition taskDefinition)
- Deprecated.
UserTaskActivityBehavior
public UserTaskActivityBehavior(TaskDecorator taskDecorator)
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
signal
public void signal(ActivityExecution execution,
String signalName,
Object signalData)
throws Exception
- Specified by:
signal in interface SignallableActivityBehavior- Overrides:
signal in class AbstractBpmnActivityBehavior
- Throws:
Exception
migrateScope
public void migrateScope(ActivityExecution scopeExecution)
- 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 interface MigrationObserverBehavior
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 interface MigrationObserverBehavior
getTaskDefinition
public TaskDefinition getTaskDefinition()
getExpressionManager
public ExpressionManager getExpressionManager()
getTaskDecorator
public TaskDecorator getTaskDecorator()
Copyright © 2016 camunda services GmbH. All rights reserved.