public class HandleExternalTaskBpmnErrorCmd extends HandleExternalTaskCmd
| Modifier and Type | Field and Description |
|---|---|
protected String |
errorCode
The error code of the corresponding bpmn error.
|
protected String |
errorMessage |
protected Map<String,Object> |
variables |
workerIdexternalTaskId| Constructor and Description |
|---|
HandleExternalTaskBpmnErrorCmd(String externalTaskId,
String workerId,
String errorCode) |
HandleExternalTaskBpmnErrorCmd(String externalTaskId,
String workerId,
String errorCode,
String errorMessage,
Map<String,Object> variables) |
| 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.
|
executegetUserOperationLogOperationType, getUserOperationLogPropertyChanges, writeUserOperationLogclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisRetryableprotected String errorCode
protected String errorMessage
public HandleExternalTaskBpmnErrorCmd(String externalTaskId, String workerId, 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 © 2022. All rights reserved.