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 Summary

    Modifier and Type
    Method
    Description
    default String
    failureMessage(Path fileToRemove, int retryCount)
     
    boolean
    shouldRetry(int retriesAttempted)
     
  • Method Details

    • shouldRetry

      boolean shouldRetry(int retriesAttempted)
    • failureMessage

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