public class SpotDetectorData extends Object implements JIPipeData
Constructor and Description |
---|
SpotDetectorData(SpotDetectorData other) |
SpotDetectorData(SpotDetectorFactory<?> spotDetectorFactory,
Map<String,Object> settings) |
Modifier and Type | Method and Description |
---|---|
void |
display(String displayName,
JIPipeWorkbench workbench,
JIPipeDataSource source)
This function should display the data in the GUI.
|
JIPipeData |
duplicate(JIPipeProgressInfo progressInfo)
Duplicates the data
|
void |
exportData(JIPipeWriteDataStorage storage,
String name,
boolean forceName,
JIPipeProgressInfo progressInfo)
Saves the data to a folder
|
Map<String,Object> |
getSettings() |
SpotDetectorFactory<?> |
getSpotDetectorFactory() |
static SpotDetectorData |
importData(JIPipeReadDataStorage storage,
JIPipeProgressInfo progressInfo) |
String |
toDetailedString()
This method returns a detailed string description (with multi-line, etc.) of the data.
|
String |
toJson() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, createThumbnail, exportThumbnails, getDescriptionOf, getMenuPathOf, getNameOf, getSortedList, getStorageDocumentation, getStorageSchema, groupByMenuPath, isCommon, isHeavy, isHidden, preview
public SpotDetectorData(SpotDetectorFactory<?> spotDetectorFactory, Map<String,Object> settings)
public SpotDetectorData(SpotDetectorData other)
public static SpotDetectorData importData(JIPipeReadDataStorage storage, JIPipeProgressInfo progressInfo)
public void exportData(JIPipeWriteDataStorage storage, String name, boolean forceName, JIPipeProgressInfo progressInfo)
JIPipeData
exportData
in interface JIPipeData
storage
- The storage where the data should be writtenname
- A name reference that can be used to generate filename(s)forceName
- If enabled, the data is saved potentially destructively. Generated files must always contain the name parameter. This is used to collect results for humans or other algorithms.progressInfo
- the progresspublic String toJson()
public JIPipeData duplicate(JIPipeProgressInfo progressInfo)
JIPipeData
duplicate
in interface JIPipeData
progressInfo
- the progress of duplicating the datapublic void display(String displayName, JIPipeWorkbench workbench, JIPipeDataSource source)
JIPipeData
JIPipeDataDisplayOperation
that can be registered separately.
This item will always be shown as "Default" in the list of operations.display
in interface JIPipeData
displayName
- a name that can be usedworkbench
- the workbenchsource
- optional source of the data. Can be null or any kind of data type (e.g. JIPipeDataSlot
)public SpotDetectorFactory<?> getSpotDetectorFactory()
public String toDetailedString()
JIPipeData
toDetailedString
in interface JIPipeData
Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.