Class Executor.Default

java.lang.Object
com.google.jenkins.plugins.util.Executor
com.google.jenkins.plugins.util.Executor.Default
Enclosing class:
Executor

public static class Executor.Default extends Executor
A default, failure-tolerant implementation of the Executor class.
  • Constructor Details

    • Default

      public Default()
    • Default

      public Default(int maxRetry, boolean composeRetry)
      Parameters:
      maxRetry - the maximum number of retries to attempt in execute(RequestCallable).
      composeRetry - whether nested retries block cause retries to compose or not. If set to false, we will wrap the exception of the last retry step in an instance of MaxRetryExceededException, which prevents any further retries.
  • Method Details