use of org.knime.node.v41.KnimeNode in project knime-core by knime.
the class NodeDescription41Proxy method adaptPortsDescription.
private static void adaptPortsDescription(final KnimeNode knimeNode, final Map<String, ExtendablePortGroup> extendablePortGrps) {
final String nodeName = knimeNode.getName();
final Ports ports = knimeNode.getPorts();
// adapt input port descriptions
adaptPortsDescription(nodeName, "input", extendablePortGrps, ports, ports.getDynInPortList(), Ports::getInPortList, Ports::addNewInPort, ExtendablePortGroup::definesInputPorts);
// adapt output port descriptions
adaptPortsDescription(nodeName, "output", extendablePortGrps, ports, ports.getDynOutPortList(), Ports::getOutPortList, Ports::addNewOutPort, ExtendablePortGroup::definesOutputPorts);
}
Aggregations