Package org.openapitools.client.model
Class ExternalTaskBpmnError
- java.lang.Object
-
- org.openapitools.client.model.ExternalTaskBpmnError
-
public class ExternalTaskBpmnError extends Object
ExternalTaskBpmnError
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ERROR_CODEstatic StringSERIALIZED_NAME_ERROR_MESSAGEstatic StringSERIALIZED_NAME_VARIABLESstatic StringSERIALIZED_NAME_WORKER_ID
-
Constructor Summary
Constructors Constructor Description ExternalTaskBpmnError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ExternalTaskBpmnErrorerrorCode(String errorCode)ExternalTaskBpmnErrorerrorMessage(String errorMessage)StringgetErrorCode()An error code that indicates the predefined error.StringgetErrorMessage()An error message that describes the error.Map<String,VariableValueDto>getVariables()A JSON object containing variable key-value pairs.StringgetWorkerId()The id of the worker that reports the failure.inthashCode()ExternalTaskBpmnErrorputVariablesItem(String key, VariableValueDto variablesItem)voidsetErrorCode(String errorCode)voidsetErrorMessage(String errorMessage)voidsetVariables(Map<String,VariableValueDto> variables)voidsetWorkerId(String workerId)StringtoString()ExternalTaskBpmnErrorvariables(Map<String,VariableValueDto> variables)ExternalTaskBpmnErrorworkerId(String workerId)
-
-
-
Field Detail
-
SERIALIZED_NAME_WORKER_ID
public static final String SERIALIZED_NAME_WORKER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR_CODE
public static final String SERIALIZED_NAME_ERROR_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR_MESSAGE
public static final String SERIALIZED_NAME_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VARIABLES
public static final String SERIALIZED_NAME_VARIABLES
- See Also:
- Constant Field Values
-
-
Method Detail
-
workerId
public ExternalTaskBpmnError workerId(String workerId)
-
getWorkerId
public String getWorkerId()
The id of the worker that reports the failure. Must match the id of the worker who has most recently locked the task.- Returns:
- workerId
-
setWorkerId
public void setWorkerId(String workerId)
-
errorCode
public ExternalTaskBpmnError errorCode(String errorCode)
-
getErrorCode
public String getErrorCode()
An error code that indicates the predefined error. It is used to identify the BPMN error handler.- Returns:
- errorCode
-
setErrorCode
public void setErrorCode(String errorCode)
-
errorMessage
public ExternalTaskBpmnError errorMessage(String errorMessage)
-
getErrorMessage
public String getErrorMessage()
An error message that describes the error.- Returns:
- errorMessage
-
setErrorMessage
public void setErrorMessage(String errorMessage)
-
variables
public ExternalTaskBpmnError variables(Map<String,VariableValueDto> variables)
-
putVariablesItem
public ExternalTaskBpmnError putVariablesItem(String key, VariableValueDto variablesItem)
-
getVariables
public Map<String,VariableValueDto> getVariables()
A JSON object containing variable key-value pairs.- Returns:
- variables
-
setVariables
public void setVariables(Map<String,VariableValueDto> variables)
-
-