Interface NodePortWrapper

All Superinterfaces:
NodeWrapper

public interface NodePortWrapper extends NodeWrapper
A NodeWrapper that identifies an output port on an instantiated node.
Author:
Martin Horn, KNIME GmbH, Konstanz, Germany, Benjamin Moser, KNIME GmbH, Konstanz, Germany
  • Method Details

    • of

      static NodePortWrapper of(org.knime.core.node.workflow.NodeContainer nc, int portIdx, int viewIdx)
      Convenience method to create a NodePortWrapper-instance.
      Parameters:
      nc - The node under consideration
      portIdx - The index of the port
      viewIdx - The index of the port view
      Returns:
      a new instance
    • getPortIdx

      int getPortIdx()
      Returns:
      the port index
    • getViewIdx

      int getViewIdx()
      Returns:
      the view index