public class OutputActionNode<OUT> extends Node<java.lang.Void,OUT>
OutputActionNode is a Node that can be used to execute a given OutputAction
or arbitrary action defined as overridden method execute().graph, inputNodes| Constructor and Description |
|---|
OutputActionNode(OutputAction<OUT> action) |
| Modifier and Type | Method and Description |
|---|---|
void |
emitOutput()
Invoked to emit available output value(s) from this
OutputNode. |
protected OUT |
execute() |
protected OUT |
processInput(OutputNode<java.lang.Void> source,
java.lang.Void input)
Invoked by
InputNode.onInput(OutputNode, Object) when the given input Object
has been received from the OutputNode that emitted it. |
action, action, addInputNode, attach, begin, begin, beginTimer, beginTimer, buffer, completed, concat, concatStrings, count, createErrorMessage, detach, dispatchError, dispatchReset, distinct, doOnCompleted, doOnError, doOnInput, doOnReset, emitOutput, filter, first, first, getGraph, hasInputNodes, isErrorReceived, last, last, map, merge, nth, observer, observer, onAttached, onCompleted, onDetached, onError, onInput, onReset, removeInputNode, repeat, reverse, setErrorReceived, setGraph, skip, skipWhile, start, string, sum, take, timer, timer, toBoolean, toByte, toChar, toDouble, toFloat, toInt, toLong, toMain, toShort, toWorker, whenClicked, whenTextChangedpublic OutputActionNode(OutputAction<OUT> action)
protected OUT processInput(OutputNode<java.lang.Void> source, java.lang.Void input)
NodeInputNode.onInput(OutputNode, Object) when the given input Object
has been received from the OutputNode that emitted it.processInput in class Node<java.lang.Void,OUT>source - An OutputNode that emitted the input.input - The input Object.protected OUT execute()
public void emitOutput()
OutputNodeOutputNode.emitOutput in interface OutputNode<OUT>emitOutput in class Node<java.lang.Void,OUT>