Uses of Interface
com.atlassian.bamboo.utils.BambooCallables.NotThrowing
-
Uses of BambooCallables.NotThrowing in com.atlassian.bamboo.utils
Modifier and TypeMethodDescriptionstatic <V> BambooCallables.NotThrowing<V>
BambooCallables.notThrowing
(BambooCallables.ThrowingX<V, ? extends Exception, ? extends Exception, ? extends Exception> callable) Returns a wrapped callable which does not throw checked exceptions.Modifier and TypeMethodDescriptionstatic <V> V
BambooCallables.retryOnException
(BambooCallables.NotThrowing<V> callable, Predicate<RuntimeException> exceptionPredicate) Utility to re-attempt to execute a callable if it fails with a known exception.static <V> V
BambooCallables.retryOnException
(BambooCallables.NotThrowing<V> callable, Predicate<RuntimeException> exceptionPredicate, int maxRetryCount) Utility to re-attempt to execute a callable if it fails with a known exception up to maxRetryCount times.