Package org.operaton.bpm.engine.impl.cmd
Class SetExternalTaskRetriesCmd
java.lang.Object
org.operaton.bpm.engine.impl.cmd.ExternalTaskCmd
org.operaton.bpm.engine.impl.cmd.SetExternalTaskRetriesCmd
- Author:
- Thorben Lindhauer, Christopher Zell
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected booleanFields inherited from class org.operaton.bpm.engine.impl.cmd.ExternalTaskCmd
externalTaskId -
Constructor Summary
ConstructorsConstructorDescriptionSetExternalTaskRetriesCmd(String externalTaskId, int retries, boolean shouldWriteUserOperationLog) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(ExternalTaskEntity externalTask) Executes the specific external task commands, which belongs to the current sub class.protected Stringprotected List<PropertyChange> getUserOperationLogPropertyChanges(ExternalTaskEntity externalTask) protected voidValidates the current input of the command.Methods inherited from class org.operaton.bpm.engine.impl.cmd.ExternalTaskCmd
execute, writeUserOperationLog
-
Field Details
-
retries
protected int retries -
shouldWriteUserOperationLog
protected boolean shouldWriteUserOperationLog
-
-
Constructor Details
-
SetExternalTaskRetriesCmd
public SetExternalTaskRetriesCmd(String externalTaskId, int retries, boolean shouldWriteUserOperationLog)
-
-
Method Details
-
validateInput
protected void validateInput()Description copied from class:ExternalTaskCmdValidates the current input of the command.- Specified by:
validateInputin classExternalTaskCmd
-
execute
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
- Overrides:
getUserOperationLogOperationTypein classExternalTaskCmd
-
getUserOperationLogPropertyChanges
- Overrides:
getUserOperationLogPropertyChangesin classExternalTaskCmd
-