Package org.camunda.bpm.engine.impl.cmd
Class SetExternalTaskPriorityCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
-
- org.camunda.bpm.engine.impl.cmd.SetExternalTaskPriorityCmd
-
public class SetExternalTaskPriorityCmd extends ExternalTaskCmd
Represents the command to set the priority of an existing external task.- Author:
- Christopher Zell
-
-
Field Summary
Fields Modifier and Type Field Description protected longpriorityThe priority that should set on the external task.-
Fields inherited from class org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
externalTaskId
-
-
Constructor Summary
Constructors Constructor Description SetExternalTaskPriorityCmd(String externalTaskId, long priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecute(ExternalTaskEntity externalTask)Executes the specific external task commands, which belongs to the current sub class.protected StringgetUserOperationLogOperationType()protected List<PropertyChange>getUserOperationLogPropertyChanges(ExternalTaskEntity externalTask)protected voidvalidateInput()Validates the current input of the command.-
Methods inherited from class org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
execute, writeUserOperationLog
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Constructor Detail
-
SetExternalTaskPriorityCmd
public SetExternalTaskPriorityCmd(String externalTaskId, long priority)
-
-
Method Detail
-
execute
protected void execute(ExternalTaskEntity externalTask)
Description copied from class:ExternalTaskCmdExecutes the specific external task commands, which belongs to the current sub class.- Specified by:
executein classExternalTaskCmd- Parameters:
externalTask- the external task which is used for the command execution
-
validateInput
protected void validateInput()
Description copied from class:ExternalTaskCmdValidates the current input of the command.- Specified by:
validateInputin classExternalTaskCmd
-
getUserOperationLogOperationType
protected String getUserOperationLogOperationType()
- Overrides:
getUserOperationLogOperationTypein classExternalTaskCmd
-
getUserOperationLogPropertyChanges
protected List<PropertyChange> getUserOperationLogPropertyChanges(ExternalTaskEntity externalTask)
- Overrides:
getUserOperationLogPropertyChangesin classExternalTaskCmd
-
-