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
-
public class SetExternalTaskRetriesCmd extends ExternalTaskCmd
- Author:
- Thorben Lindhauer, Christopher Zell
-
-
Field Summary
Fields Modifier and Type Field Description protected int
retries
protected boolean
writeUserOperationLog
-
Fields inherited from class org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
externalTaskId
-
-
Constructor Summary
Constructors Constructor Description SetExternalTaskRetriesCmd(String externalTaskId, int retries, boolean writeUserOperationLog)
-
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
-
SetExternalTaskRetriesCmd
public SetExternalTaskRetriesCmd(String externalTaskId, int retries, boolean writeUserOperationLog)
-
-
Method Detail
-
validateInput
protected void validateInput()
Description copied from class:ExternalTaskCmd
Validates the current input of the command.- Specified by:
validateInput
in classExternalTaskCmd
-
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
-
getUserOperationLogOperationType
protected String getUserOperationLogOperationType()
- Overrides:
getUserOperationLogOperationType
in classExternalTaskCmd
-
getUserOperationLogPropertyChanges
protected List<PropertyChange> getUserOperationLogPropertyChanges(ExternalTaskEntity externalTask)
- Overrides:
getUserOperationLogPropertyChanges
in classExternalTaskCmd
-
-