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 boolean
deserializeReturnedVariables
protected boolean
returnVariables
protected String
taskId
protected 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 void
checkCompleteTask(TaskEntity task, CommandContext commandContext)
protected void
completeTask(TaskEntity task)
VariableMap
execute(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:
execute
in interfaceCommand<VariableMap>
-
completeTask
protected void completeTask(TaskEntity task)
-
checkCompleteTask
protected void checkCompleteTask(TaskEntity task, CommandContext commandContext)
-
-