Class JobFailRequest
java.lang.Object
io.camunda.zeebe.gateway.protocol.rest.JobFailRequest
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2024-10-11T17:26:39.504605721Z[GMT]",
comments="Generator version: 7.8.0")
public class JobFailRequest
extends Object
JobFailRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanerrorMessage(String errorMessage) An optional message describing why the job failed.The amount of retries the job should have leftThe backoff timeout (in ms) for the next retry.JSON object that will instantiate the variables at the local scope of the job's associated task.inthashCode()putVariablesItem(String key, Object variablesItem) retryBackOff(Long retryBackOff) voidsetErrorMessage(String errorMessage) voidsetRetries(Integer retries) voidsetRetryBackOff(Long retryBackOff) voidsetVariables(Map<String, Object> variables) toString()
-
Constructor Details
-
JobFailRequest
public JobFailRequest()
-
-
Method Details
-
retries
-
getRetries
The amount of retries the job should have left- Returns:
- retries
-
setRetries
-
errorMessage
-
getErrorMessage
An optional message describing why the job failed. This is particularly useful if a job runs out of retries and an incident is raised, as this message can help explain why an incident was raised.- Returns:
- errorMessage
-
setErrorMessage
-
retryBackOff
-
getRetryBackOff
The backoff timeout (in ms) for the next retry.- Returns:
- retryBackOff
-
setRetryBackOff
-
variables
-
putVariablesItem
-
getVariables
JSON object that will instantiate the variables at the local scope of the job's associated task.- Returns:
- variables
-
setVariables
-
equals
-
hashCode
public int hashCode() -
toString
-