Package org.camunda.bpm.engine.impl.cmd
Class ExternalTaskCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
- Direct Known Subclasses:
 HandleExternalTaskCmd,SetExternalTaskPriorityCmd,SetExternalTaskRetriesCmd,UnlockExternalTaskCmd
Represents a base class for the external task commands.
 Contains functionality to get the external task by id and check
 the authorization for the execution of a command on the requested external task.
- Author:
 - Christopher Zell <christopher.zell@camunda.com>
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionexecute(CommandContext commandContext) protected abstract voidexecute(ExternalTaskEntity externalTask) Executes the specific external task commands, which belongs to the current sub class.protected Stringprotected List<PropertyChange>getUserOperationLogPropertyChanges(ExternalTaskEntity externalTask) protected abstract voidValidates the current input of the command.protected voidwriteUserOperationLog(CommandContext commandContext, ExternalTaskEntity externalTask, String operationType, List<PropertyChange> propertyChanges) Methods 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
- 
externalTaskId
The corresponding external task id. 
 - 
 - 
Constructor Details
- 
ExternalTaskCmd
 
 - 
 - 
Method Details
- 
execute
 - 
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, ExternalTaskEntity externalTask, String operationType, List<PropertyChange> propertyChanges)  - 
getUserOperationLogOperationType
 - 
getUserOperationLogPropertyChanges
 - 
execute
Executes the specific external task commands, which belongs to the current sub class.- Parameters:
 externalTask- the external task which is used for the command execution
 - 
validateInput
protected abstract void validateInput()Validates the current input of the command. 
 -