public class HandleExternalTaskBpmnErrorCmd extends HandleExternalTaskCmd
Modifier and Type | Field and Description |
---|---|
protected String |
errorCode
The error code of the corresponding bpmn error.
|
workerId
externalTaskId
Constructor and Description |
---|
HandleExternalTaskBpmnErrorCmd(String externalTaskId,
String workerId,
String errorCode) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ExternalTaskEntity externalTask)
Executes the specific external task commands, which belongs to the current sub class.
|
String |
getErrorMessageOnWrongWorkerAccess()
Returns the error message.
|
protected void |
validateInput()
Validates the current input of the command.
|
execute
protected String errorCode
protected void validateInput()
HandleExternalTaskCmd
validateInput
in class HandleExternalTaskCmd
public String getErrorMessageOnWrongWorkerAccess()
HandleExternalTaskCmd
getErrorMessageOnWrongWorkerAccess
in class HandleExternalTaskCmd
public void execute(ExternalTaskEntity externalTask)
ExternalTaskCmd
execute
in class ExternalTaskCmd
externalTask
- the external task which is used for the command executionCopyright © 2017. All rights reserved.