Class PortDescription

java.lang.Object
org.knime.core.webui.node.impl.PortDescription

public final class PortDescription extends Object
Describes an input or output port of a node.
Author:
Adrian Nembach, KNIME GmbH, Konstanz, Germany
  • Constructor Details

    • PortDescription

      public PortDescription(String name, org.knime.core.node.port.PortType type, String description)
      Constructor.
      Parameters:
      name - the name of the port
      type - the type of the port
      description - the description of the port
    • PortDescription

      public PortDescription(String name, org.knime.core.node.port.PortType type, String description, boolean configurable)
      Parameters:
      name - the name of the port
      type - the type of the port
      description - the description of the port
      configurable - whether the port is configurable (see ConfigurableNodeFactory)
  • Method Details

    • getName

      public String getName()
      Returns:
      the name of the port
    • getDescription

      public String getDescription()
      Returns:
      the description of the port
    • getType

      public org.knime.core.node.port.PortType getType()
      Returns:
      the type of the port
    • isConfigurable

      public boolean isConfigurable()
      Returns:
      whether the port is configurable
      See Also:
      • ConfigurableNodeFactory