|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.workflow.NodeContainerMetaPersistorVersion1xx
org.knime.core.node.workflow.NodeContainerMetaPersistorVersion200
class NodeContainerMetaPersistorVersion200
| Field Summary |
|---|
| Fields inherited from interface org.knime.core.node.workflow.NodeContainerMetaPersistor |
|---|
KEY_CUSTOM_DESCRIPTION, KEY_CUSTOM_NAME |
| Constructor Summary | |
|---|---|
NodeContainerMetaPersistorVersion200(ReferencedFile settingsFile,
WorkflowLoadHelper loadHelper,
WorkflowPersistorVersion200.LoadVersion version)
Create load persistor. |
|
| Method Summary | |
|---|---|
protected String |
loadCustomDescription(NodeSettingsRO settings,
NodeSettingsRO parentSettings)
Read the custom description. |
protected boolean |
loadIsDeletable(NodeSettingsRO settings)
Load whether this node is deletable. |
protected ReferencedFile |
loadJobManagerInternalsDirectory(ReferencedFile parentDir,
NodeSettingsRO settings)
Load the directory name that is used to persist internals of the associated job manager. |
protected NodeAnnotationData |
loadNodeAnnotationData(NodeSettingsRO settings,
NodeSettingsRO parentSettings)
Read the custom description. |
protected NodeExecutionJobManager |
loadNodeExecutionJobManager(NodeSettingsRO settings)
Load the execution manager responsible for this node. |
protected NodeSettingsRO |
loadNodeExecutionJobSettings(NodeSettingsRO settings)
Load the settings representing the pending execution of this node. |
protected NodeMessage |
loadNodeMessage(NodeSettingsRO settings)
Load messages that were set on the node. |
protected NodeContainer.State |
loadState(NodeSettingsRO settings,
NodeSettingsRO parentSettings)
Load the state of the node. |
static void |
save(NodeSettingsWO settings,
NodeContainer nc,
ReferencedFile targetDir)
|
protected static void |
saveCustomDescription(NodeSettingsWO settings,
NodeContainer nc)
|
protected static void |
saveIsDeletable(NodeSettingsWO settings,
NodeContainer nc)
|
protected static void |
saveJobManagerInternalsDirectory(NodeSettingsWO settings,
NodeContainer nc,
ReferencedFile targetDir)
|
protected static void |
saveNodeAnnotation(NodeSettingsWO settings,
NodeContainer nc)
|
protected static void |
saveNodeExecutionJob(NodeSettingsWO settings,
NodeContainer nc)
|
protected static void |
saveNodeExecutionJobManager(NodeSettingsWO settings,
NodeContainer nc)
|
protected static void |
saveNodeMessage(NodeSettingsWO settings,
NodeContainer nc)
|
protected static boolean |
saveState(NodeSettingsWO settings,
NodeContainer nc)
|
| Methods inherited from class org.knime.core.node.workflow.NodeContainerMetaPersistorVersion1xx |
|---|
getCustomDescription, getExecutionJobManager, getExecutionJobSettings, getLoadHelper, getLoadVersion, getLogger, getNodeAnnotationData, getNodeContainerDirectory, getNodeIDSuffix, getNodeMessage, getNodeSettingsFile, getState, getUIInfo, isDeletable, isDirtyAfterLoad, load, setDirtyAfterLoad, setNodeIDSuffix, setUIInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
NodeContainerMetaPersistorVersion200(ReferencedFile settingsFile,
WorkflowLoadHelper loadHelper,
WorkflowPersistorVersion200.LoadVersion version)
settingsFile - The node file (only important while load)loadHelper - As required by super constructor.version - The load version| Method Detail |
|---|
protected NodeExecutionJobManager loadNodeExecutionJobManager(NodeSettingsRO settings)
throws InvalidSettingsException
loadNodeExecutionJobManager in class NodeContainerMetaPersistorVersion1xxsettings - To load from.
InvalidSettingsException - If that fails.
protected NodeSettingsRO loadNodeExecutionJobSettings(NodeSettingsRO settings)
throws InvalidSettingsException
loadNodeExecutionJobSettings in class NodeContainerMetaPersistorVersion1xxsettings - To load from.
InvalidSettingsException - If that fails.
protected ReferencedFile loadJobManagerInternalsDirectory(ReferencedFile parentDir,
NodeSettingsRO settings)
throws InvalidSettingsException
loadJobManagerInternalsDirectory in class NodeContainerMetaPersistorVersion1xxparentDir - The parent directory (the node dir).settings - To load from.
InvalidSettingsException - If errors occur.
protected NodeContainer.State loadState(NodeSettingsRO settings,
NodeSettingsRO parentSettings)
throws InvalidSettingsException
loadState in class NodeContainerMetaPersistorVersion1xxsettings - The settings associated with the node (used in 2.0+)parentSettings - The parent settings (workflow.knime, used in 1.3x)
InvalidSettingsException - In case of errors reading the argumentprotected boolean loadIsDeletable(NodeSettingsRO settings)
loadIsDeletable in class NodeContainerMetaPersistorVersion1xxsettings - to load from
protected NodeAnnotationData loadNodeAnnotationData(NodeSettingsRO settings,
NodeSettingsRO parentSettings)
throws InvalidSettingsException
loadNodeAnnotationData in class NodeContainerMetaPersistorVersion1xxsettings - The settings associated with the node (used in 2.0+)parentSettings - The parent settings (workflow.knime, used in 1.3x)
InvalidSettingsException - In case of errors reading the argument
protected String loadCustomDescription(NodeSettingsRO settings,
NodeSettingsRO parentSettings)
throws InvalidSettingsException
loadCustomDescription in class NodeContainerMetaPersistorVersion1xxsettings - The settings associated with the node (used in 2.0+)parentSettings - The parent settings (workflow.knime, used in 1.3x)
InvalidSettingsException - In case of errors reading the argument
protected NodeMessage loadNodeMessage(NodeSettingsRO settings)
throws InvalidSettingsException
loadNodeMessage in class NodeContainerMetaPersistorVersion1xxsettings - to load from.
InvalidSettingsException - If this fails.
public static void save(NodeSettingsWO settings,
NodeContainer nc,
ReferencedFile targetDir)
protected static void saveNodeExecutionJobManager(NodeSettingsWO settings,
NodeContainer nc)
protected static void saveNodeExecutionJob(NodeSettingsWO settings,
NodeContainer nc)
protected static void saveJobManagerInternalsDirectory(NodeSettingsWO settings,
NodeContainer nc,
ReferencedFile targetDir)
protected static boolean saveState(NodeSettingsWO settings,
NodeContainer nc)
protected static void saveNodeAnnotation(NodeSettingsWO settings,
NodeContainer nc)
protected static void saveCustomDescription(NodeSettingsWO settings,
NodeContainer nc)
protected static void saveIsDeletable(NodeSettingsWO settings,
NodeContainer nc)
protected static void saveNodeMessage(NodeSettingsWO settings,
NodeContainer nc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||