public class RunnableChain
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
RunnableChain(boolean exceptionStopsChain,
java.lang.Iterable<? extends java.lang.Runnable> toRun)
Constructs a runnable chain with a provided list of runnables to iterate over.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
public RunnableChain(boolean exceptionStopsChain,
java.lang.Iterable<? extends java.lang.Runnable> toRun)
exceptionStopsChain - true for uncaught exception stops the execution of the chaintoRun - Iterable collection of runnables to run