RunnableChain
@Deprecated public class RunnableChain extends RunnableChain
Constructor and Description |
---|
RunnableChain(boolean exceptionStopsChain,
java.lang.Iterable<? extends java.lang.Runnable> toRun)
Deprecated.
Constructs a runnable chain with a provided list of runnables to iterate over.
|
RunnableChain(boolean exceptionStopsChain,
java.lang.Runnable... runnables)
Deprecated.
Constructs a runnable chain with a provided list of runnables to iterate over.
|
run
public RunnableChain(boolean exceptionStopsChain, java.lang.Runnable... runnables)
exceptionStopsChain
- true
for uncaught exception stops the execution of the chainrunnables
- Runnables to execute in chainpublic 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