Package org.camunda.bpm.engine.impl.cmd
Class CompleteExternalTaskCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
org.camunda.bpm.engine.impl.cmd.HandleExternalTaskCmd
org.camunda.bpm.engine.impl.cmd.CompleteExternalTaskCmd
- Author:
- Thorben Lindhauer, Christopher Zell
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class org.camunda.bpm.engine.impl.cmd.HandleExternalTaskCmd
workerIdFields inherited from class org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
externalTaskId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ExternalTaskEntity externalTask) Executes the specific external task commands, which belongs to the current sub class.Returns the error message.Methods inherited from class org.camunda.bpm.engine.impl.cmd.HandleExternalTaskCmd
execute, validateInput, validateWorkerViolationMethods inherited from class org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
getUserOperationLogOperationType, getUserOperationLogPropertyChanges, writeUserOperationLogMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
Field Details
-
variables
-
localVariables
-
-
Constructor Details
-
CompleteExternalTaskCmd
-
-
Method Details
-
getErrorMessageOnWrongWorkerAccess
Description copied from class:HandleExternalTaskCmdReturns the error message. Which is used to create an specific message for the BadUserRequestException if an worker has no rights to execute commands of the external task.- Specified by:
getErrorMessageOnWrongWorkerAccessin classHandleExternalTaskCmd- Returns:
- the specific error message
-
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
-