DATA - the data type.public class PassingInvocation<DATA> extends FilterInvocation<DATA,DATA>
| Modifier and Type | Method and Description |
|---|---|
static <DATA> FilterInvocation<DATA,DATA> |
factoryOf()
Returns a factory of passing invocations.
|
void |
onInput(DATA input,
ResultChannel<DATA> result)
Called when an input is passed to the routine.
This method is called once for each input object. |
newInvocation, onAbort, onDestroy, onInitialize, onResult, onTerminate@NotNull public static <DATA> FilterInvocation<DATA,DATA> factoryOf()
DATA - the data type.public void onInput(DATA input, @NotNull ResultChannel<DATA> result)
Invocationinput - the input.result - the result channel.