public abstract class JIPipeSerializedParameterCollectionData extends AbstractJIPipeParameterCollection implements JIPipeData
JIPipeData
that is serialized from/to JSON for convenience
Only valid JIPipeParameter
definitions are stored.
Ensure that this data type has a copy constructor for the duplicate() function.
You also still need to add the proper SetJIPipeDocumentation
annotation and
the JIPipeData importData(Path) static function.
Unlike JIPipeSerializedJsonObjectData
, this data is serialized in a way to fully restore its data type during deserialization,
removing the requirement of storing the data type ID within the JSON.Modifier and Type | Class and Description |
---|---|
static class |
JIPipeSerializedParameterCollectionData.Deserializer |
static class |
JIPipeSerializedParameterCollectionData.Serializer |
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListener
Constructor and Description |
---|
JIPipeSerializedParameterCollectionData() |
JIPipeSerializedParameterCollectionData(JIPipeSerializedParameterCollectionData other) |
Modifier and Type | Method and Description |
---|---|
JIPipeData |
duplicate(JIPipeProgressInfo progressInfo)
Duplicates the data
|
void |
exportData(JIPipeWriteDataStorage storage,
String name,
boolean forceName,
JIPipeProgressInfo progressInfo)
Saves the data to a folder
|
static JIPipeData |
importData(JIPipeReadDataStorage storage,
JIPipeProgressInfo progressInfo) |
getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, onParameterChanged, onParameterStructureChanged, onParameterUIChanged, registerSubParameter, registerSubParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, createThumbnail, exportThumbnails, getDescriptionOf, getMenuPathOf, getNameOf, getSortedList, getStorageDocumentation, getStorageSchema, groupByMenuPath, isCommon, isHeavy, isHidden, preview, toDetailedString
deserializeFromJsonNode, emitParameterChangedEvent, emitParameterStructureChangedEvent, emitParameterUIChangedEvent, getContextActions, getParameter, getParameterAccess, installUIOverrideParameterEditor, installUIParameterOptions, isParameterUIVisible, isParameterUIVisible, serializeToJsonFile, serializeToJsonGenerator, serializeToJsonString, setParameter
public JIPipeSerializedParameterCollectionData()
public JIPipeSerializedParameterCollectionData(JIPipeSerializedParameterCollectionData other)
public static JIPipeData 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 JIPipeData duplicate(JIPipeProgressInfo progressInfo)
JIPipeData
duplicate
in interface JIPipeData
progressInfo
- the progress of duplicating the dataCopyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.