org.camunda.bpm.engine.impl.bpmn.behavior
Class UserTaskActivityBehavior

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
      extended by org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
          extended by org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
 
Field Summary
protected  TaskDecorator taskDecorator
           
 
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
UserTaskActivityBehavior(ExpressionManager expressionManager, TaskDefinition taskDefinition)
          Deprecated. 
UserTaskActivityBehavior(TaskDecorator taskDecorator)
           
 
Method Summary
 void execute(ActivityExecution execution)
          Default behaviour: just leave the activity with no extra functionality.
 ExpressionManager getExpressionManager()
           
 TaskDecorator getTaskDecorator()
           
 TaskDefinition getTaskDefinition()
           
 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)
           
 
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 org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leaveIgnoreConditions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taskDecorator

protected TaskDecorator taskDecorator
Constructor Detail

UserTaskActivityBehavior

@Deprecated
public UserTaskActivityBehavior(ExpressionManager expressionManager,
                                           TaskDefinition taskDefinition)
Deprecated. 


UserTaskActivityBehavior

public UserTaskActivityBehavior(TaskDecorator taskDecorator)
Method Detail

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.