public abstract class HandleExternalTaskCmd extends ExternalTaskCmd
| Modifier and Type | Field and Description | 
|---|---|
protected String | 
workerId
The reported worker id. 
 | 
externalTaskId| Constructor and Description | 
|---|
HandleExternalTaskCmd(String externalTaskId,
                     String workerId)  | 
| Modifier and Type | Method and Description | 
|---|---|
Void | 
execute(CommandContext commandContext)  | 
abstract String | 
getErrorMessageOnWrongWorkerAccess()
Returns the error message. 
 | 
protected void | 
validateInput()
Validates the current input of the command. 
 | 
executeprotected String workerId
public Void execute(CommandContext commandContext)
execute in interface Command<Void>execute in class ExternalTaskCmdpublic abstract String getErrorMessageOnWrongWorkerAccess()
protected void validateInput()
validateInput in class ExternalTaskCmdCopyright © 2017. All rights reserved.