JobDefinitionRetryStrategy

data class JobDefinitionRetryStrategy(val attempts: Int? = null, val evaluateOnExit: List<JobDefinitionEvaluateOnExit>? = null)

Constructors

Link copied to clipboard
constructor(attempts: Int? = null, evaluateOnExit: List<JobDefinitionEvaluateOnExit>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val attempts: Int? = null

The number of times to move a job to the RUNNABLE status. You can specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.

Link copied to clipboard

Array of up to 5 objects that specify the conditions where jobs are retried or failed. If this parameter is specified, then the attempts parameter must also be specified. If none of the listed conditions match, then the job is retried.