public class ClaimTaskCmd extends Object implements Command<Void>, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
taskId |
protected String |
userId |
Constructor and Description |
---|
ClaimTaskCmd(String taskId,
String userId) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkClaimTask(TaskEntity task,
CommandContext commandContext) |
Void |
execute(CommandContext commandContext) |
public Void execute(CommandContext commandContext)
protected void checkClaimTask(TaskEntity task, CommandContext commandContext)
Copyright © 2018. All rights reserved.