public class CompleteTaskCmd extends Object implements Command<VariableMap>, Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
deserializeReturnedVariables |
protected boolean |
returnVariables |
protected String |
taskId |
protected Map<String,Object> |
variables |
Constructor and Description |
---|
CompleteTaskCmd(String taskId,
Map<String,Object> variables) |
CompleteTaskCmd(String taskId,
Map<String,Object> variables,
boolean returnVariables,
boolean deserializeReturnedVariables) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkCompleteTask(TaskEntity task,
CommandContext commandContext) |
protected void |
completeTask(TaskEntity task) |
VariableMap |
execute(CommandContext commandContext) |
protected String taskId
protected boolean returnVariables
protected boolean deserializeReturnedVariables
public VariableMap execute(CommandContext commandContext)
execute
in interface Command<VariableMap>
protected void completeTask(TaskEntity task)
protected void checkCompleteTask(TaskEntity task, CommandContext commandContext)
Copyright © 2019. All rights reserved.