Package org.camunda.bpm.engine.impl.cmd
Class SetTaskPriorityCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractSetTaskPropertyCmd<Integer>
org.camunda.bpm.engine.impl.cmd.SetTaskPriorityCmd
- All Implemented Interfaces:
Serializable,Command<Void>
Command to change task priority to a new value.
- See Also:
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetTaskPropertyCmd
taskId, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecuteSetOperation(TaskEntity task, Integer priority) Executes the set operation of the concrete command.protected StringReturns the User Operation Log name that corresponds to this command.Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetTaskPropertyCmd
checkTaskAgainstContext, ensureNotNullAndGet, execute, logOperation, validateAndGetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
Constructor Details
-
SetTaskPriorityCmd
Public constructor.- Parameters:
taskId- the id of the referenced task, non-nullpriority- the new priority value to set, non-null
-
-
Method Details
-
getUserOperationLogName
Description copied from class:AbstractSetTaskPropertyCmdReturns the User Operation Log name that corresponds to this command. Meant to be implemented by concretions.- Specified by:
getUserOperationLogNamein classAbstractSetTaskPropertyCmd<Integer>- Returns:
- the user operation log name
-
executeSetOperation
Description copied from class:AbstractSetTaskPropertyCmdExecutes the set operation of the concrete command.- Specified by:
executeSetOperationin classAbstractSetTaskPropertyCmd<Integer>- Parameters:
task- the task entity on which to set a propertypriority- the value to se
-