public class BambooRunnables extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BambooRunnables.BambooRunnableFromCallable<V> |
static interface |
BambooRunnables.NotThrowing |
static class |
BambooRunnables.RunnableFromCallable<V> |
static interface |
BambooRunnables.Throwing<E1 extends Throwable> |
static interface |
BambooRunnables.Throwing1<E1 extends Throwable> |
static interface |
BambooRunnables.Throwing2<E1 extends Throwable,E2 extends Throwable> |
static interface |
BambooRunnables.ThrowingX<E1 extends Throwable,E2 extends Throwable,E3 extends Throwable> |
Modifier and Type | Method and Description |
---|---|
static <V> BambooRunnables.BambooRunnableFromCallable<V> |
asBambooRunnable(Callable<V> callable) |
static <V> BambooRunnables.RunnableFromCallable<V> |
asJavaRunnable(Callable<V> callable) |
static BambooRunnables.NotThrowing |
from(Runnable runnable) |
static Runnable |
runOnce(Runnable code)
Will run runnable only once.
|
public static <V> BambooRunnables.RunnableFromCallable<V> asJavaRunnable(Callable<V> callable)
public static <V> BambooRunnables.BambooRunnableFromCallable<V> asBambooRunnable(Callable<V> callable)
public static BambooRunnables.NotThrowing from(Runnable runnable)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.