Class SimpleNode<T>

java.lang.Object
com.lumiomedical.flow.node.AbstractNode
com.lumiomedical.flow.node.SimpleNode<T>
All Implemented Interfaces:
Node, Comparable<Node>
Direct Known Subclasses:
Pipe, Sink, Source, StreamAccumulator, StreamGenerator, StreamPipe, StreamSink, StreamSource

public abstract class SimpleNode<T>
extends AbstractNode
Author:
Pierre Lecerf ([email protected]) Created on 2020/03/02
  • Constructor Details

    • SimpleNode

      public SimpleNode​(T actor)
      Parameters:
      actor -
  • Method Details

    • getActor

      public T getActor()
      Returns:
    • bind

      protected void bind​(SimpleNode other)
      Parameters:
      other -
    • getSimpleUpstream

      public Node getSimpleUpstream()
      Returns:
    • getUpstream

      public List<Node> getUpstream()
      Description copied from interface: Node
      Returns the list of upstream nodes, ie. nodes which output is required in order to execute the current node. For Source nodes, this should be empty. For Pipe and Sink nodes, this should be a list of size 1. For Join nodes, this should be a list of size 2.
      Returns:
      the list of upstream nodes