public class ThenMessagingRunnable<T,V> extends MessagingRunnable<T>
Modifier and Type | Field and Description |
---|---|
private groovy.lang.Closure<V> |
closure |
private DataflowVariable<V> |
result |
Constructor and Description |
---|
ThenMessagingRunnable(DataflowVariable<V> result,
groovy.lang.Closure<V> closure) |
Modifier and Type | Method and Description |
---|---|
protected void |
doRun(T argument)
Defines the action performed by the Runnable
|
call, call, call, getMaximumNumberOfParameters, getParameterTypes
asWritable, 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, trampoline
private final DataflowVariable<V> result
private final groovy.lang.Closure<V> closure
public ThenMessagingRunnable(DataflowVariable<V> result, groovy.lang.Closure<V> closure)
protected void doRun(T argument)
MessagingRunnable
doRun
in class MessagingRunnable<T>
argument
- The parameter passed from the caller to the closure