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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisRetryablepublic Void execute(CommandContext commandContext)
protected void checkClaimTask(TaskEntity task, CommandContext commandContext)
Copyright © 2022. All rights reserved.