Package org.camunda.bpm.engine.impl.cmd
Class CompleteTaskCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.CompleteTaskCmd
-
- All Implemented Interfaces:
java.io.Serializable
,Command<VariableMap>
- Direct Known Subclasses:
ResolveTaskCmd
public class CompleteTaskCmd extends java.lang.Object implements Command<VariableMap>, java.io.Serializable
- Author:
- Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
deserializeReturnedVariables
protected boolean
returnVariables
protected java.lang.String
taskId
protected java.util.Map<java.lang.String,java.lang.Object>
variables
-
Constructor Summary
Constructors Constructor Description CompleteTaskCmd(java.lang.String taskId, java.util.Map<java.lang.String,java.lang.Object> variables)
CompleteTaskCmd(java.lang.String taskId, java.util.Map<java.lang.String,java.lang.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
-
-
-
-
Constructor Detail
-
CompleteTaskCmd
public CompleteTaskCmd(java.lang.String taskId, java.util.Map<java.lang.String,java.lang.Object> variables)
-
CompleteTaskCmd
public CompleteTaskCmd(java.lang.String taskId, java.util.Map<java.lang.String,java.lang.Object> variables, boolean returnVariables, boolean deserializeReturnedVariables)
-
-
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)
-
-