org.camunda.bpm.engine.impl.cmd
Class CompleteTaskCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.CompleteTaskCmd
All Implemented Interfaces:
Serializable, Command<Void>
Direct Known Subclasses:
ResolveTaskCmd

public class CompleteTaskCmd
extends Object
implements Command<Void>, Serializable

Author:
Joram Barrez
See Also:
Serialized Form

Field Summary
protected  String taskId
           
protected  Map<String,Object> variables
           
 
Constructor Summary
CompleteTaskCmd(String taskId, Map<String,Object> variables)
           
 
Method Summary
protected  void completeTask(TaskEntity task)
           
 Void execute(CommandContext commandContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taskId

protected String taskId

variables

protected Map<String,Object> variables
Constructor Detail

CompleteTaskCmd

public CompleteTaskCmd(String taskId,
                       Map<String,Object> variables)
Method Detail

execute

public Void execute(CommandContext commandContext)
Specified by:
execute in interface Command<Void>

completeTask

protected void completeTask(TaskEntity task)


Copyright © 2016 camunda services GmbH. All rights reserved.