Provides utility methods.
| Type | Name and description |
|---|---|
static T |
callWithDelegate(groovy.lang.Closure<T> closure, java.lang.Object delegate, java.lang.Object... arguments) |
static groovy.lang.Closure<T> |
currySelf(groovy.lang.Closure<T> closure) |
static T |
retry(int retryCount, int retryWaitSec, groovy.lang.Closure<T> closure)Execute the closure with retrying. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Execute the closure with retrying. This method catches only com.jcraft.jsch.JSchExceptions.