Class ExternalTaskFailureDto
java.lang.Object
org.camunda.community.rest.client.dto.ExternalTaskFailureDto
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T13:43:01.451833574Z[Etc/UTC]")
public class ExternalTaskFailureDto
extends Object
ExternalTaskFailureDto
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanerrorDetails(String errorDetails) errorMessage(String errorMessage) A detailed error description.org.openapitools.jackson.nullable.JsonNullable<String>An message indicating the reason of the failure.org.openapitools.jackson.nullable.JsonNullable<String>A JSON object containing local variable key-value pairs.org.openapitools.jackson.nullable.JsonNullable<Map<String,VariableValueDto>> A number of how often the task should be retried.org.openapitools.jackson.nullable.JsonNullable<Integer>A timeout in milliseconds before the external task becomes available again for fetching.org.openapitools.jackson.nullable.JsonNullable<Long>A JSON object containing variable key-value pairs.org.openapitools.jackson.nullable.JsonNullable<Map<String,VariableValueDto>> **Mandatory.** The ID of the worker who is performing the operation on the external task.inthashCode()localVariables(Map<String, VariableValueDto> localVariables) putLocalVariablesItem(String key, VariableValueDto localVariablesItem) putVariablesItem(String key, VariableValueDto variablesItem) retryTimeout(Long retryTimeout) voidsetErrorDetails(String errorDetails) voidsetErrorDetails_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> errorDetails) voidsetErrorMessage(String errorMessage) voidsetErrorMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> errorMessage) voidsetLocalVariables(Map<String, VariableValueDto> localVariables) voidsetLocalVariables_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String, VariableValueDto>> localVariables) voidsetRetries(Integer retries) voidsetRetries_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> retries) voidsetRetryTimeout(Long retryTimeout) voidsetRetryTimeout_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> retryTimeout) voidsetVariables(Map<String, VariableValueDto> variables) voidsetVariables_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String, VariableValueDto>> variables) voidsetWorkerId(String workerId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.variables(Map<String, VariableValueDto> variables)
-
Field Details
-
JSON_PROPERTY_WORKER_ID
- See Also:
-
JSON_PROPERTY_ERROR_MESSAGE
- See Also:
-
JSON_PROPERTY_ERROR_DETAILS
- See Also:
-
JSON_PROPERTY_RETRIES
- See Also:
-
JSON_PROPERTY_RETRY_TIMEOUT
- See Also:
-
JSON_PROPERTY_VARIABLES
- See Also:
-
JSON_PROPERTY_LOCAL_VARIABLES
- See Also:
-
-
Constructor Details
-
ExternalTaskFailureDto
public ExternalTaskFailureDto()
-
-
Method Details
-
workerId
-
getWorkerId
**Mandatory.** The ID of the worker who is performing the operation on the external task. If the task is already locked, must match the id of the worker who has most recently locked the task.- Returns:
- workerId
-
setWorkerId
-
errorMessage
-
getErrorMessage
An message indicating the reason of the failure.- Returns:
- errorMessage
-
getErrorMessage_JsonNullable
-
setErrorMessage_JsonNullable
public void setErrorMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> errorMessage) -
setErrorMessage
-
errorDetails
-
getErrorDetails
A detailed error description.- Returns:
- errorDetails
-
getErrorDetails_JsonNullable
-
setErrorDetails_JsonNullable
public void setErrorDetails_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> errorDetails) -
setErrorDetails
-
retries
-
getRetries
A number of how often the task should be retried. Must be >= 0. If this is 0, an incident is created and the task cannot be fetched anymore unless the retries are increased again. The incident's message is set to the `errorMessage` parameter.- Returns:
- retries
-
getRetries_JsonNullable
-
setRetries_JsonNullable
public void setRetries_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> retries) -
setRetries
-
retryTimeout
-
getRetryTimeout
A timeout in milliseconds before the external task becomes available again for fetching. Must be >= 0.- Returns:
- retryTimeout
-
getRetryTimeout_JsonNullable
-
setRetryTimeout_JsonNullable
public void setRetryTimeout_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> retryTimeout) -
setRetryTimeout
-
variables
-
putVariablesItem
-
getVariables
A JSON object containing variable key-value pairs. Each key is a variable name and each value a JSON variable value object with the following properties:- Returns:
- variables
-
getVariables_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Map<String,VariableValueDto>> getVariables_JsonNullable() -
setVariables_JsonNullable
public void setVariables_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String, VariableValueDto>> variables) -
setVariables
-
localVariables
-
putLocalVariablesItem
public ExternalTaskFailureDto putLocalVariablesItem(String key, VariableValueDto localVariablesItem) -
getLocalVariables
A JSON object containing local variable key-value pairs. Local variables are set only in the scope of external task. Each key is a variable name and each value a JSON variable value object with the following properties:- Returns:
- localVariables
-
getLocalVariables_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Map<String,VariableValueDto>> getLocalVariables_JsonNullable() -
setLocalVariables_JsonNullable
public void setLocalVariables_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String, VariableValueDto>> localVariables) -
setLocalVariables
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-