public class SetTaskPriorityCmd extends Object implements Command<Void>, Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
priority |
protected String |
taskId |
Constructor and Description |
---|
SetTaskPriorityCmd(String taskId,
int priority) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkTaskPriority(TaskEntity task,
CommandContext commandContext) |
Void |
execute(CommandContext commandContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRetryable
protected int priority
protected String taskId
public SetTaskPriorityCmd(String taskId, int priority)
public Void execute(CommandContext commandContext)
protected void checkTaskPriority(TaskEntity task, CommandContext commandContext)
Copyright © 2022. All rights reserved.