|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.node.workflow.NodeContainerMetaPersistorVersion1xx
class NodeContainerMetaPersistorVersion1xx
Field Summary |
---|
Fields inherited from interface org.knime.core.node.workflow.NodeContainerMetaPersistor |
---|
KEY_CUSTOM_DESCRIPTION, KEY_CUSTOM_NAME |
Constructor Summary | |
---|---|
NodeContainerMetaPersistorVersion1xx(ReferencedFile baseDir)
|
Method Summary | |
---|---|
String |
getCustomDescription()
|
String |
getCustomName()
|
NodeExecutionJobManager |
getExecutionJobManager()
|
NodeSettingsRO |
getExecutionJobSettings()
|
protected NodeLogger |
getLogger()
|
ReferencedFile |
getNodeContainerDirectory()
|
int |
getNodeIDSuffix()
|
NodeMessage |
getNodeMessage()
|
NodeContainer.State |
getState()
|
UIInformation |
getUIInfo()
|
boolean |
isDeletable()
|
boolean |
isDirtyAfterLoad()
|
boolean |
load(NodeSettingsRO settings,
NodeSettingsRO parentSettings,
WorkflowPersistor.LoadResult loadResult)
Load content, gets both the current settings (first argument) and the "parent settings", which are only used in 1.3.x flows and will be ignored in any version after that. |
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. |
protected void |
setDirtyAfterLoad()
Mark node as dirty. |
void |
setNodeIDSuffix(int nodeIDSuffix)
|
void |
setUIInfo(UIInformation uiInfo)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
NodeContainerMetaPersistorVersion1xx(ReferencedFile baseDir)
baseDir
- The node container directoryMethod Detail |
---|
protected NodeLogger getLogger()
public String getCustomDescription()
getCustomDescription
in interface NodeContainerMetaPersistor
public String getCustomName()
getCustomName
in interface NodeContainerMetaPersistor
public UIInformation getUIInfo()
getUIInfo
in interface NodeContainerMetaPersistor
public void setUIInfo(UIInformation uiInfo)
setUIInfo
in interface NodeContainerMetaPersistor
public int getNodeIDSuffix()
getNodeIDSuffix
in interface NodeContainerMetaPersistor
public void setNodeIDSuffix(int nodeIDSuffix)
setNodeIDSuffix
in interface NodeContainerMetaPersistor
public NodeExecutionJobManager getExecutionJobManager()
getExecutionJobManager
in interface NodeContainerMetaPersistor
public NodeSettingsRO getExecutionJobSettings()
getExecutionJobSettings
in interface NodeContainerMetaPersistor
public NodeContainer.State getState()
getState
in interface NodeContainerMetaPersistor
public NodeMessage getNodeMessage()
getNodeMessage
in interface NodeContainerMetaPersistor
public boolean isDeletable()
isDeletable
in interface NodeContainerMetaPersistor
public boolean isDirtyAfterLoad()
isDirtyAfterLoad
in interface NodeContainerMetaPersistor
protected void setDirtyAfterLoad()
public ReferencedFile getNodeContainerDirectory()
getNodeContainerDirectory
in interface NodeContainerMetaPersistor
public boolean load(NodeSettingsRO settings, NodeSettingsRO parentSettings, WorkflowPersistor.LoadResult loadResult)
load
in interface NodeContainerMetaPersistor
settings
- The settings object that is usually read fromparentSettings
- The parent settings, mostly ignored.loadResult
- Where to add errors and warnings to.
protected String loadCustomName(NodeSettingsRO settings, NodeSettingsRO parentSettings) throws InvalidSettingsException
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
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 NodeExecutionJobManager loadNodeExecutionJobManager(NodeSettingsRO settings) throws InvalidSettingsException
settings
- To load from.
InvalidSettingsException
- If that fails.protected NodeSettingsRO loadNodeExecutionJobSettings(NodeSettingsRO settings) throws InvalidSettingsException
settings
- To load from.
InvalidSettingsException
- If that fails.protected ReferencedFile loadJobManagerInternalsDirectory(ReferencedFile parentDir, NodeSettingsRO settings) throws InvalidSettingsException
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
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
InvalidSettingsException
protected boolean loadIsDeletable(NodeSettingsRO settings)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |