Class FailurePolicy

java.lang.Object
co.yellowdog.platform.model.FailurePolicy
All Implemented Interfaces:
Serializable

public class FailurePolicy extends Object implements Serializable
Policy that can be specified in a RunSpecification to control what to do before a Task transitions to the TaskStatus.FAILED status. The FailurePolicy is always applied after the RetryPolicy.

A FailurePolicy can be used in conjunction with a RetryPolicy or the deprecated RunSpecification.setMaximumTaskRetries(Integer)}/RunSpecification.setRetryableErrors(List).

See Also: