Package org.knime.core.webui.node.impl
Class WebUINodeConfiguration.NodeOptionals
java.lang.Object
org.knime.core.webui.node.impl.WebUINodeConfiguration.NodeOptionals
- Enclosing class:
- WebUINodeConfiguration
The (final) build stage in which the ports and other "optional" configurations are defined.
-
Method Summary
Modifier and TypeMethodDescriptionaddInputPort(String name, org.knime.core.node.port.PortType type, String description) Adds another input port to the node.addInputPort(String name, org.knime.core.node.port.PortType type, String description, boolean configurable) Adds another input port to the node.addInputTable(String name, String description) Adds another input table to the node.addInputTable(String name, String description, boolean configurable) Adds another input table to the node.addOutputPort(String name, org.knime.core.node.port.PortType type, String description) Adds another output port to the node.addOutputPort(String name, org.knime.core.node.port.PortType type, String description, boolean configurable) Adds another output port to the node.addOutputTable(String name, String description) Adds another output table to the node.addOutputTable(String name, String description, boolean configurable) Adds another output table to the node.build()Adds a list of keywords that are used/index for searching nodes.nodeType(org.knime.core.node.NodeFactory.NodeType nodeType) Sets the node type.sinceVersion(int major, int minor, int revision) Specify since which KNIME AP version this node is available
-
Method Details
-
nodeType
public WebUINodeConfiguration.NodeOptionals nodeType(org.knime.core.node.NodeFactory.NodeType nodeType) Sets the node type. This affects how the node is shown, e.g., Loop Start nodes are shown in light blue and form a small opening bracket that matches the way Loop End nodes are displayed.- Parameters:
nodeType- the node type- Returns:
- this build stage
-
addInputTable
Adds another input table to the node.- Parameters:
name- the name of the node's next input tabledescription- the description of the node's next input table- Returns:
- this build stage
-
addInputTable
public WebUINodeConfiguration.NodeOptionals addInputTable(String name, String description, boolean configurable) Adds another input table to the node.- Parameters:
name- the name of the node's next input tabledescription- the description of the node's next input tableconfigurable- whether the port is configurable- Returns:
- this build stage
-
addInputPort
public WebUINodeConfiguration.NodeOptionals addInputPort(String name, org.knime.core.node.port.PortType type, String description) Adds another input port to the node.- Parameters:
name- the name of the node's next input porttype- the type of the node's next input portdescription- the description of the node's next input port- Returns:
- this build stage
-
addInputPort
public WebUINodeConfiguration.NodeOptionals addInputPort(String name, org.knime.core.node.port.PortType type, String description, boolean configurable) Adds another input port to the node.- Parameters:
name- the name of the node's next input porttype- the type of the node's next input portdescription- the description of the node's next input portconfigurable- whether the port is configurable- Returns:
- this build stage
-
addOutputTable
Adds another output table to the node.- Parameters:
name- the name of the node's next output tabledescription- the description of the node's next output table- Returns:
- this build stage
-
addOutputTable
public WebUINodeConfiguration.NodeOptionals addOutputTable(String name, String description, boolean configurable) Adds another output table to the node.- Parameters:
name- the name of the node's next output tabledescription- the description of the node's next output tableconfigurable- whether the port is configurable- Returns:
- this build stage
-
addOutputPort
public WebUINodeConfiguration.NodeOptionals addOutputPort(String name, org.knime.core.node.port.PortType type, String description) Adds another output port to the node.- Parameters:
name- the name of the node's next output porttype- the type of the node's next output portdescription- the description of the node's next output port- Returns:
- this build stage
-
addOutputPort
public WebUINodeConfiguration.NodeOptionals addOutputPort(String name, org.knime.core.node.port.PortType type, String description, boolean configurable) Adds another output port to the node.- Parameters:
name- the name of the node's next output porttype- the type of the node's next output portdescription- the description of the node's next output portconfigurable- whether the port is configurable- Returns:
- this build stage
-
keywords
Adds a list of keywords that are used/index for searching nodes. The list itself is not visible to the user.- Parameters:
keywords- List of keywords.- Returns:
- this build stage
-
sinceVersion
Specify since which KNIME AP version this node is available- Parameters:
major- major versionminor- minor versionrevision- patch revision- Returns:
- this build stage
-
build
- Returns:
- the built node
-