Package org.camunda.bpm.engine.impl.cmd
Class SetTaskDescriptionCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractSetTaskPropertyCmd<String>
org.camunda.bpm.engine.impl.cmd.SetTaskDescriptionCmd
- All Implemented Interfaces:
Serializable
,Command<Void>
Command that changes the description of a task.
- See Also:
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetTaskPropertyCmd
taskId, value
-
Constructor Summary
ConstructorDescriptionSetTaskDescriptionCmd
(String taskId, String description) Public Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
executeSetOperation
(TaskEntity task, String value) Executes the set operation of the concrete command.protected String
Returns 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, validateAndGet
-
Constructor Details
-
SetTaskDescriptionCmd
Public Constructor.- Parameters:
taskId
- the id of the task whose description should be changeddescription
- the new description value to change to- Throws:
NullValueException
- in case the given taskId or the given description are null
-
-
Method Details
-
getUserOperationLogName
Description copied from class:AbstractSetTaskPropertyCmd
Returns the User Operation Log name that corresponds to this command. Meant to be implemented by concretions.- Specified by:
getUserOperationLogName
in classAbstractSetTaskPropertyCmd<String>
- Returns:
- the user operation log name
-
executeSetOperation
Description copied from class:AbstractSetTaskPropertyCmd
Executes the set operation of the concrete command.- Specified by:
executeSetOperation
in classAbstractSetTaskPropertyCmd<String>
- Parameters:
task
- the task entity on which to set a propertyvalue
- the value to se
-