withRetry method

TaskChain withRetry(
  1. RetryPolicy retry
)

Sets retry policy for all steps in the chain.

Implementation

TaskChain withRetry(RetryPolicy retry) {
  this.retry = retry;
  return this;
}