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.
|
execute
protected String workerId
public Void execute(CommandContext commandContext)
execute
in interface Command<Void>
execute
in class ExternalTaskCmd
public abstract String getErrorMessageOnWrongWorkerAccess()
protected void validateInput()
validateInput
in class ExternalTaskCmd
Copyright © 2017. All rights reserved.