Uses of Interface
com.atlassian.bamboo.utils.BambooCallables.NotThrowing
Packages that use BambooCallables.NotThrowing
-
Uses of BambooCallables.NotThrowing in com.atlassian.bamboo.utils
Methods in com.atlassian.bamboo.utils that return BambooCallables.NotThrowingModifier 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.Methods in com.atlassian.bamboo.utils with parameters of type BambooCallables.NotThrowingModifier 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.