org.knime.core.node.workflow
Class WorkflowOutPort
java.lang.Object
org.knime.core.node.workflow.NodePortAdaptor
org.knime.core.node.workflow.NodeOutPortWrapper
org.knime.core.node.workflow.WorkflowOutPort
- All Implemented Interfaces:
- NodeOutPort, NodePort, NodeStateChangeListener
public class WorkflowOutPort
- extends NodeOutPortWrapper
- Author:
- M. Berthold, University of Konstanz
Constructor Summary |
WorkflowOutPort(WorkflowManager wm,
int portIndex,
PortType pType)
Creates a new output port with a fixed type and index (should unique
to all other output ports of this node) for the given node. |
Method Summary |
PortObject |
getPortObject()
Returns the DataTable for this port, as set by the node this port is
output for. |
(package private) NodeInPort |
getSimulatedInPort()
Return a NodeInPort for the WFM's output ports so that the Outport
of a node within the WFM can connect to it as an "input". |
Methods inherited from class org.knime.core.node.workflow.NodeOutPortWrapper |
addNodeStateChangeListener, disposePortView, equals, getFlowObjectStack, getHiLiteHandler, getNodeState, getPortObjectSpec, getPortSummary, getUnderlyingPort, hashCode, notifyNodeStateChangeListener, openPortView, removeNodeStateChangeListener, setUnderlyingPort, stateChanged, toString |
WorkflowOutPort
WorkflowOutPort(WorkflowManager wm,
int portIndex,
PortType pType)
- Creates a new output port with a fixed type and index (should unique
to all other output ports of this node) for the given node.
- Parameters:
wm
- The workflow manger containing this portpType
- The port's typeportIndex
- This port index
getSimulatedInPort
NodeInPort getSimulatedInPort()
- Return a NodeInPort for the WFM's output ports so that the Outport
of a node within the WFM can connect to it as an "input". Since InPorts
only wrap name/type this is really all it does: it wraps this information
as specified during WFM construction into an InPort.
- Returns:
- fake InPort.
getPortObject
public PortObject getPortObject()
- Returns the DataTable for this port, as set by the node this port is
output for.
- Specified by:
getPortObject
in interface NodeOutPort
- Overrides:
getPortObject
in class NodeOutPortWrapper
- Returns:
- PortObject the object for this port. Can be null.
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.