Package org.camunda.bpm.engine.impl.cmd
Class SetExternalTaskRetriesCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
-
- org.camunda.bpm.engine.impl.cmd.SetExternalTaskRetriesCmd
-
- All Implemented Interfaces:
Command<java.lang.Void>
public class SetExternalTaskRetriesCmd extends ExternalTaskCmd
- Author:
- Thorben Lindhauer, Christopher Zell
-
-
Field Summary
Fields Modifier and Type Field Description protected intretriesprotected booleanwriteUserOperationLog-
Fields inherited from class org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
externalTaskId
-
-
Constructor Summary
Constructors Constructor Description SetExternalTaskRetriesCmd(java.lang.String externalTaskId, int retries, boolean writeUserOperationLog)
-
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 java.lang.StringgetUserOperationLogOperationType()protected java.util.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
-
-
-
-
Method Detail
-
validateInput
protected void validateInput()
Description copied from class:ExternalTaskCmdValidates the current input of the command.- Specified by:
validateInputin classExternalTaskCmd
-
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
-
getUserOperationLogOperationType
protected java.lang.String getUserOperationLogOperationType()
- Overrides:
getUserOperationLogOperationTypein classExternalTaskCmd
-
getUserOperationLogPropertyChanges
protected java.util.List<PropertyChange> getUserOperationLogPropertyChanges(ExternalTaskEntity externalTask)
- Overrides:
getUserOperationLogPropertyChangesin classExternalTaskCmd
-
-