|
||||||||||
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 baseDir)
|
Method Summary | |
---|---|
protected String |
loadCustomDescription(NodeSettingsRO settings,
NodeSettingsRO parentSettings)
Read the custom description. |
protected String |
loadCustomName(NodeSettingsRO settings,
NodeSettingsRO parentSettings)
Read the custom name. |
protected boolean |
loadIsDeletable(NodeSettingsRO settings)
|
protected ReferencedFile |
loadJobManagerInternalsDirectory(ReferencedFile parentDir,
NodeSettingsRO settings)
Load the directory name that is used to persist internals of the associated job manager. |
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)
|
protected NodeContainer.State |
loadState(NodeSettingsRO settings,
NodeSettingsRO parentSettings)
Load the state of the node. |
void |
save(NodeContainer nc,
NodeSettingsWO settings)
|
protected void |
saveCustomDescription(NodeSettingsWO settings,
NodeContainer nc)
|
protected void |
saveCustomName(NodeSettingsWO settings,
NodeContainer nc)
|
protected void |
saveIsDeletable(NodeSettingsWO settings,
NodeContainer nc)
|
protected void |
saveJobManagerInternalsDirectory(NodeSettingsWO settings,
NodeContainer nc)
|
protected void |
saveNodeExecutionJob(NodeSettingsWO settings,
NodeContainer nc)
|
protected void |
saveNodeExecutionJobManager(NodeSettingsWO settings,
NodeContainer nc)
|
protected void |
saveNodeMessage(NodeSettingsWO settings,
NodeContainer nc)
|
protected boolean |
saveState(NodeSettingsWO settings,
NodeContainer nc)
|
Methods inherited from class org.knime.core.node.workflow.NodeContainerMetaPersistorVersion1xx |
---|
getCustomDescription, getCustomName, getExecutionJobManager, getExecutionJobSettings, getLogger, getNodeContainerDirectory, getNodeIDSuffix, getNodeMessage, 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 baseDir)
baseDir
- The node container directory (only important while load)Method Detail |
---|
protected NodeExecutionJobManager loadNodeExecutionJobManager(NodeSettingsRO settings) throws InvalidSettingsException
loadNodeExecutionJobManager
in class NodeContainerMetaPersistorVersion1xx
settings
- To load from.
InvalidSettingsException
- If that fails.protected NodeSettingsRO loadNodeExecutionJobSettings(NodeSettingsRO settings) throws InvalidSettingsException
loadNodeExecutionJobSettings
in class NodeContainerMetaPersistorVersion1xx
settings
- To load from.
InvalidSettingsException
- If that fails.protected ReferencedFile loadJobManagerInternalsDirectory(ReferencedFile parentDir, NodeSettingsRO settings) throws InvalidSettingsException
loadJobManagerInternalsDirectory
in class NodeContainerMetaPersistorVersion1xx
parentDir
- 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 NodeContainerMetaPersistorVersion1xx
settings
- 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 NodeContainerMetaPersistorVersion1xx
protected String loadCustomName(NodeSettingsRO settings, NodeSettingsRO parentSettings) throws InvalidSettingsException
loadCustomName
in class NodeContainerMetaPersistorVersion1xx
settings
- 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 String loadCustomDescription(NodeSettingsRO settings, NodeSettingsRO parentSettings) throws InvalidSettingsException
loadCustomDescription
in class NodeContainerMetaPersistorVersion1xx
settings
- 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 NodeMessage loadNodeMessage(NodeSettingsRO settings) throws InvalidSettingsException
loadNodeMessage
in class NodeContainerMetaPersistorVersion1xx
InvalidSettingsException
public void save(NodeContainer nc, NodeSettingsWO settings) throws IOException
IOException
protected void saveNodeExecutionJobManager(NodeSettingsWO settings, NodeContainer nc)
protected void saveNodeExecutionJob(NodeSettingsWO settings, NodeContainer nc)
protected void saveJobManagerInternalsDirectory(NodeSettingsWO settings, NodeContainer nc)
protected boolean saveState(NodeSettingsWO settings, NodeContainer nc)
protected void saveCustomName(NodeSettingsWO settings, NodeContainer nc)
protected void saveCustomDescription(NodeSettingsWO settings, NodeContainer nc)
protected void saveIsDeletable(NodeSettingsWO settings, NodeContainer nc)
protected void saveNodeMessage(NodeSettingsWO settings, NodeContainer nc)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |