Package org.camunda.bpm.engine.impl.cmd
Class ExternalTaskCmd
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
 
- 
- All Implemented Interfaces:
- Command<java.lang.Void>
 - Direct Known Subclasses:
- HandleExternalTaskCmd,- SetExternalTaskPriorityCmd,- SetExternalTaskRetriesCmd,- UnlockExternalTaskCmd
 
 public abstract class ExternalTaskCmd extends java.lang.Object implements Command<java.lang.Void> 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 
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringexternalTaskIdThe corresponding external task id.
 - 
Constructor SummaryConstructors Constructor Description ExternalTaskCmd(java.lang.String externalTaskId)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Voidexecute(CommandContext commandContext)protected abstract 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 abstract voidvalidateInput()Validates the current input of the command.protected voidwriteUserOperationLog(CommandContext commandContext, ExternalTaskEntity externalTask, java.lang.String operationType, java.util.List<PropertyChange> propertyChanges)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.CommandisRetryable
 
- 
 
- 
- 
- 
Method Detail- 
executepublic java.lang.Void execute(CommandContext commandContext) 
 - 
writeUserOperationLogprotected void writeUserOperationLog(CommandContext commandContext, ExternalTaskEntity externalTask, java.lang.String operationType, java.util.List<PropertyChange> propertyChanges) 
 - 
getUserOperationLogOperationTypeprotected java.lang.String getUserOperationLogOperationType() 
 - 
getUserOperationLogPropertyChangesprotected java.util.List<PropertyChange> getUserOperationLogPropertyChanges(ExternalTaskEntity externalTask) 
 - 
executeprotected abstract void execute(ExternalTaskEntity externalTask) 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
 
 - 
validateInputprotected abstract void validateInput() Validates the current input of the command.
 
- 
 
-