Interface PathRemover.RetryStrategy

  • Enclosing class:
    PathRemover
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    @FunctionalInterface
    public static interface PathRemover.RetryStrategy
    • Method Detail

      • shouldRetry

        boolean shouldRetry​(int retriesAttempted)
      • failureMessage

        default String failureMessage​(@NonNull
                                      Path fileToRemove,
                                      int retryCount)