public abstract class ExternalTaskCmd extends Object implements Command<Void>
| Modifier and Type | Field and Description | 
|---|---|
protected String | 
externalTaskId
The corresponding external task id. 
 | 
| Constructor and Description | 
|---|
ExternalTaskCmd(String externalTaskId)  | 
| Modifier and Type | Method and Description | 
|---|---|
Void | 
execute(CommandContext commandContext)  | 
protected abstract 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 abstract void | 
validateInput()
Validates the current input of the command. 
 | 
protected void | 
writeUserOperationLog(CommandContext commandContext,
                     ExternalTaskEntity externalTask,
                     String operationType,
                     List<PropertyChange> propertyChanges)  | 
protected String externalTaskId
public ExternalTaskCmd(String externalTaskId)
public Void execute(CommandContext commandContext)
protected void writeUserOperationLog(CommandContext commandContext, ExternalTaskEntity externalTask, String operationType, List<PropertyChange> propertyChanges)
protected String getUserOperationLogOperationType()
protected List<PropertyChange> getUserOperationLogPropertyChanges(ExternalTaskEntity externalTask)
protected abstract void execute(ExternalTaskEntity externalTask)
externalTask - the external task which is used for the command executionprotected abstract void validateInput()
Copyright © 2021. All rights reserved.