Class OffsetNode

java.lang.Object
com.lumiomedical.flow.node.NodeDecorator
com.lumiomedical.flow.impl.pipeline.runtime.node.OffsetNode
All Implemented Interfaces:
Node, Comparable<Node>

public final class OffsetNode
extends NodeDecorator
Author:
Pierre Lecerf ([email protected]) Created on 2020/12/12
  • Constructor Details

    • OffsetNode

      public OffsetNode​(Node node, int offset)
      Parameters:
      node -
      offset -
  • Method Details

    • getUid

      public String getUid()
      Description copied from interface: Node
      Returns a unique identifier for the node within a flow DAG.
      Specified by:
      getUid in interface Node
      Overrides:
      getUid in class NodeDecorator
      Returns:
    • getOffset

      public int getOffset()
    • getRequirements

      public List<Node> getRequirements()
      Description copied from interface: Node
      Returns the list of upstream requirement nodes, ie. nodes which need to be executed before, but which outputs aren't required for execution. There can be any number of requirements for a given node.
      Specified by:
      getRequirements in interface Node
      Overrides:
      getRequirements in class NodeDecorator
      Returns:
      the list of upstream requirement nodes
    • getDownstream

      public List<Node> getDownstream()
      Description copied from interface: Node
      Returns the list of downstream nodes, ie. nodes which require the current node's output in order to be executed.
      Specified by:
      getDownstream in interface Node
      Overrides:
      getDownstream in class NodeDecorator
      Returns:
      the list of downstream nodes