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 |
workerId
externalTaskId
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.
|
execute
getUserOperationLogOperationType, getUserOperationLogPropertyChanges, writeUserOperationLog
protected String errorCode
protected String errorMessage
public HandleExternalTaskBpmnErrorCmd(String externalTaskId, String workerId, 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 © 2022. All rights reserved.