|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortObjectSpec
General interface for object specifications that are passed along node
connections. Most prominent example of such a class is
DataTableSpec
, which is used to represent table
specification. PortObjectSpec
objects represent the
information that is necessary during a node's
configuration step
.
They are assumed to be fairly small objects (usually reside in memory) and
describe the general structure of PortObject
objects (which are
passed along the connections during a node's execution). Both the class of a
PortObjectSpec
and a PortObject
describe
PortType
.
Important: Implementors of this interface must also provide a
PortObjectSpec.PortObjectSpecSerializer
, which is used to save and load instances.
The framework will try to invoke a static method defined in the
implementation with the following signature:
public static PortObjectSpecSerializer<FooPortObjectSpec> getPortObjectSpecSerializer(final File directory) throws IOException {...}If the class does not have such a static method (or it has the wrong signature), an exception will be thrown at runtime.
Note: The API of this class is not finalized and may slightly change in future versions.
DataTableSpec
,
PortObject
,
PortType
Nested Class Summary | |
---|---|
static class |
PortObjectSpec.PortObjectSpecSerializer<T extends PortObjectSpec>
Factory class that's used for writing and loading objects of class denoted by T . |
Method Summary | |
---|---|
JComponent[] |
getViews()
The returned views are displayed in the out port view of the referring node. |
Method Detail |
---|
JComponent[] getViews()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |