public class HandleExternalTaskBpmnErrorCmd extends HandleExternalTaskCmd
| Modifier and Type | Field and Description |
|---|---|
protected String |
errorCode
The error code of the corresponding bpmn error.
|
workerIdexternalTaskId| 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.
|
executeprotected String errorCode
protected void validateInput()
HandleExternalTaskCmdvalidateInput in class HandleExternalTaskCmdpublic String getErrorMessageOnWrongWorkerAccess()
HandleExternalTaskCmdgetErrorMessageOnWrongWorkerAccess in class HandleExternalTaskCmdpublic void execute(ExternalTaskEntity externalTask)
ExternalTaskCmdexecute in class ExternalTaskCmdexternalTask - the external task which is used for the command executionCopyright © 2019. All rights reserved.