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 long
priority
The 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 void
execute(ExternalTaskEntity externalTask)
Executes the specific external task commands, which belongs to the current sub class.protected String
getUserOperationLogOperationType()
protected List<PropertyChange>
getUserOperationLogPropertyChanges(ExternalTaskEntity externalTask)
protected void
validateInput()
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:ExternalTaskCmd
Executes the specific external task commands, which belongs to the current sub class.- Specified by:
execute
in classExternalTaskCmd
- Parameters:
externalTask
- the external task which is used for the command execution
-
validateInput
protected void validateInput()
Description copied from class:ExternalTaskCmd
Validates the current input of the command.- Specified by:
validateInput
in classExternalTaskCmd
-
getUserOperationLogOperationType
protected String getUserOperationLogOperationType()
- Overrides:
getUserOperationLogOperationType
in classExternalTaskCmd
-
getUserOperationLogPropertyChanges
protected List<PropertyChange> getUserOperationLogPropertyChanges(ExternalTaskEntity externalTask)
- Overrides:
getUserOperationLogPropertyChanges
in classExternalTaskCmd
-
-