Package org.camunda.bpm.engine.impl.cmd
Class CompleteTaskCmd
- java.lang.Object
 - 
- org.camunda.bpm.engine.impl.cmd.CompleteTaskCmd
 
 
- 
- All Implemented Interfaces:
 Serializable,Command<VariableMap>
- Direct Known Subclasses:
 ResolveTaskCmd
public class CompleteTaskCmd extends Object implements Command<VariableMap>, Serializable
- Author:
 - Joram Barrez
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected booleandeserializeReturnedVariablesprotected booleanreturnVariablesprotected StringtaskIdprotected Map<String,Object>variables 
- 
Constructor Summary
Constructors Constructor Description CompleteTaskCmd(String taskId, Map<String,Object> variables)CompleteTaskCmd(String taskId, Map<String,Object> variables, boolean returnVariables, boolean deserializeReturnedVariables) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckCompleteTask(TaskEntity task, CommandContext commandContext)protected voidcompleteTask(TaskEntity task)VariableMapexecute(CommandContext commandContext)- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable 
 - 
 
 - 
 
- 
- 
Method Detail
- 
execute
public VariableMap execute(CommandContext commandContext)
- Specified by:
 executein interfaceCommand<VariableMap>
 
- 
completeTask
protected void completeTask(TaskEntity task)
 
- 
checkCompleteTask
protected void checkCompleteTask(TaskEntity task, CommandContext commandContext)
 
 - 
 
 -