withRetryOn


Description:

public Retry withRetryOn (owned RetryOnFunc shouldRetry)

Sets retry predicate for failure reason text.

If predicate returns false, retry loop ends immediately.

Parameters:

shouldRetry

predicate to decide whether retry continues.

Returns:

this retry instance.