|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.port.flowvariable.FlowVariablePortObject
public class FlowVariablePortObject
A singleton port object representing a variable input. Flow Variables ports and their connections carry no data, nor variables but just represent a connection. Variables are propagated through the workflow using framework methods, each node can read and write variables using methods in the NodeModel (as opposed to have these methods defined on the port object).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.knime.core.node.port.PortObject |
|---|
PortObject.PortObjectSerializer<T extends PortObject> |
| Field Summary | |
|---|---|
static FlowVariablePortObject |
INSTANCE
Singleton instance to be used. |
static PortType |
TYPE
Type representing this port object. |
static PortType |
TYPE_OPTIONAL
Type representing this port object as optional. |
| Constructor Summary | |
|---|---|
FlowVariablePortObject()
Deprecated. There is only one instance to this class. Future
versions of KNIME will reduce the scope of this constructor and declare
this class final. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
static PortObject.PortObjectSerializer<FlowVariablePortObject> |
getPortObjectSerializer()
Serializer for this port object. |
PortObjectSpec |
getSpec()
Get specification to this port object. |
String |
getSummary()
Get a short summary of this PortObject. |
JComponent[] |
getViews()
The returned views are displayed in the out port view of the referring node. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final PortType TYPE
public static final PortType TYPE_OPTIONAL
public static final FlowVariablePortObject INSTANCE
| Constructor Detail |
|---|
@Deprecated public FlowVariablePortObject()
instance to this class. Future
versions of KNIME will reduce the scope of this constructor and declare
this class final.
| Method Detail |
|---|
public static PortObject.PortObjectSerializer<FlowVariablePortObject> getPortObjectSerializer()
public PortObjectSpec getSpec()
PortObjectSpec which is used to configure any successor node
after execution, e.g. a BufferedDataTable can return a
DataTableSpec.
Subclasses should narrow the return type if possible.
getSpec in interface PortObjectPortObjectSpec or any derived spec,
never null.public String getSummary()
PortObject.
The return value will be shown in a node port's tooltip, for instance.
getSummary in interface PortObjectpublic JComponent[] getViews()
getViews in interface PortObjectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||