public abstract class JIPipeDataSlot extends JIPipeDataTable
JIPipeData
instance.
Slots are part of an JIPipeGraphNode
Modifier and Type | Field and Description |
---|---|
static String |
LOCATION_KEY_NODE_DISPLAY_NAME
To be used with getLocation().
|
static String |
LOCATION_KEY_NODE_NAME
To be used with getLocation().
|
static String |
LOCATION_KEY_SLOT_DISPLAY_NAME
To be used with getLocation().
|
static String |
LOCATION_KEY_SLOT_IO
To be used with getLocation().
|
static String |
LOCATION_KEY_SLOT_NAME
To be used with getLocation().
|
Constructor and Description |
---|
JIPipeDataSlot(JIPipeDataSlot other,
boolean shallow,
JIPipeProgressInfo progressInfo) |
JIPipeDataSlot(JIPipeDataSlotInfo info,
JIPipeGraphNode node)
Creates a new slot
|
Modifier and Type | Method and Description |
---|---|
static JIPipeInputDataSlot |
createSingletonSlot(JIPipeData data,
JIPipeGraphNode node)
Creates a new input slot that contains only one data item
|
String |
getDescription() |
String |
getDisplayName()
Returns a name that includes the algorithm name and the slot name.
|
JIPipeDataSlotInfo |
getInfo() |
String |
getLocation(String key,
String defaultValue)
Returns info about the location of this data table.
|
String |
getName() |
JIPipeGraphNode |
getNode() |
Path |
getRowStoragePath(int index)
Gets the storage path of a data row from a result.
|
Path |
getSlotStoragePath()
Gets the storage path that is used during running the algorithm for saving the results
This is not used during project creation
|
JIPipeSlotType |
getSlotType() |
Path |
getStorageDataTablePath()
Only valid for slots generated by a
JIPipeGraphRun . |
boolean |
isInput() |
boolean |
isOutput() |
void |
setNode(JIPipeGraphNode node)
Reassigns the node
|
void |
setSlotStoragePath(Path slotStoragePath)
Sets storage path that is used during running the algorithm for saving the results
|
String |
toString() |
accepts, accepts, acceptsTrivially, acceptsTrivially, addAnnotationToAllData, addData, addData, addData, addData, addData, addData, addData, addData, addData, addData, addData, addDataFromSlot, addDataFromTable, addFromTable, addTableModelListener, addTextAnnotationToAllData, clear, clearData, convert, createThumbnail, destroyData, duplicate, exportData, exportData, exportDataRow_, filter, fireChangedEvent, getAcceptedDataType, getAcceptedDataTypeInfo, getAllData, getAllDataAnnotations, getAllTextAnnotations, getAnnotationColumns, getAnnotationMap, getColumnClass, getColumnCount, getColumnName, getData, getDataAnnotation, getDataAnnotation, getDataAnnotationColumnArray_, getDataAnnotationColumnNames, getDataAnnotationItemStore, getDataAnnotationItemStoreMap_, getDataAnnotations, getDataAnnotations, getDataClass, getDataContext, getDataContexts, getDataInfo, getDataItemStore, getLocation, getOrCreateDataAnnotationColumnArray_, getOrCreateTextAnnotationColumnArray_, getRowCount_, getRowCount, getTextAnnotation, getTextAnnotation, getTextAnnotationColumnArray_, getTextAnnotationColumnNames, getTextAnnotationMap, getTextAnnotationOr, getTextAnnotations, getTextAnnotations, getValueAt, getVirtualData, getVirtualDataAnnotation, getVirtualDataAnnotationMap, importData, isCellEditable, isEmpty, preview, removeAllAnnotationsFromData, removeTableModelListener, saveDataAnnotationRow_, setAcceptedDataType, setData, setDataAnnotation, setDataAnnotation, setDataAnnotationItemStore_, setDataAnnotationItemStore, setDataContext, setDataItemStore, setTextAnnotation, setTextAnnotation, setValueAt, setVirtualData, setVirtualDataAnnotation, slice, toAnnotationTable, toWeakCopy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, exportThumbnails, getDescriptionOf, getMenuPathOf, getNameOf, getSortedList, getStorageDocumentation, getStorageSchema, groupByMenuPath, isCommon, isHeavy, isHidden, toDetailedString
public static final String LOCATION_KEY_NODE_NAME
public static final String LOCATION_KEY_NODE_DISPLAY_NAME
public static final String LOCATION_KEY_SLOT_NAME
public static final String LOCATION_KEY_SLOT_DISPLAY_NAME
public static final String LOCATION_KEY_SLOT_IO
public JIPipeDataSlot(JIPipeDataSlotInfo info, JIPipeGraphNode node)
info
- the slot definitionnode
- The algorithm that contains the slotpublic JIPipeDataSlot(JIPipeDataSlot other, boolean shallow, JIPipeProgressInfo progressInfo)
public static JIPipeInputDataSlot createSingletonSlot(JIPipeData data, JIPipeGraphNode node)
data
- the datapublic String getLocation(String key, String defaultValue)
JIPipeDataTable
getLocation
in class JIPipeDataTable
key
- the keydefaultValue
- returned if no info about the key existspublic String getName()
public String getDisplayName()
getDisplayName
in class JIPipeDataTable
public JIPipeGraphNode getNode()
public void setNode(JIPipeGraphNode node)
node
- the nodepublic JIPipeSlotType getSlotType()
public boolean isInput()
public boolean isOutput()
public Path getSlotStoragePath()
public void setSlotStoragePath(Path slotStoragePath)
slotStoragePath
- Data storage pathspublic Path getRowStoragePath(int index)
index
- row indexpublic JIPipeDataSlotInfo getInfo()
public Path getStorageDataTablePath()
JIPipeGraphRun
.
Returns the path to the data table filepublic String toString()
toString
in class JIPipeDataTable
public String getDescription()
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.