public class ThenMessagingRunnable<T,V> extends MessagingRunnable<T>
| Modifier and Type | Field and Description | 
|---|---|
private groovy.lang.Closure<V> | 
closure  | 
private groovy.lang.Closure<V> | 
errorHandler  | 
private DataflowVariable<V> | 
result  | 
| Constructor and Description | 
|---|
ThenMessagingRunnable(DataflowVariable<V> result,
                     groovy.lang.Closure<V> closure)  | 
ThenMessagingRunnable(DataflowVariable<V> result,
                     groovy.lang.Closure<V> closure,
                     groovy.lang.Closure<V> errorHandler)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
doRun(T argument)
Defines the action performed by the Runnable 
 | 
private boolean | 
shallHandle(groovy.lang.Closure<V> errorHandler,
           java.lang.Throwable e)  | 
call, call, call, getMaximumNumberOfParameters, getParameterTypesasWritable, clone, curry, curry, dehydrate, getDelegate, getDirective, getOwner, getProperty, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException, trampoline, trampolineprivate final DataflowVariable<V> result
private final groovy.lang.Closure<V> closure
private final groovy.lang.Closure<V> errorHandler
public ThenMessagingRunnable(DataflowVariable<V> result, groovy.lang.Closure<V> closure)
public ThenMessagingRunnable(DataflowVariable<V> result, groovy.lang.Closure<V> closure, groovy.lang.Closure<V> errorHandler)
protected void doRun(T argument)
MessagingRunnabledoRun in class MessagingRunnable<T>argument - The parameter passed from the caller to the closureprivate boolean shallHandle(groovy.lang.Closure<V> errorHandler, java.lang.Throwable e)