|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.workflow.CopyNodeContainerMetaPersistor
final class CopyNodeContainerMetaPersistor
| Field Summary |
|---|
| Fields inherited from interface org.knime.core.node.workflow.NodeContainerMetaPersistor |
|---|
KEY_CUSTOM_DESCRIPTION, KEY_CUSTOM_NAME |
| Constructor Summary | |
|---|---|
CopyNodeContainerMetaPersistor(NodeContainer original,
boolean preserveDeletableFlag,
boolean isUndoableDeleteCommand)
Create copy persistor. |
|
| Method Summary | |
|---|---|
String |
getCustomDescription()
|
NodeExecutionJobManager |
getExecutionJobManager()
|
NodeSettingsRO |
getExecutionJobSettings()
|
WorkflowLoadHelper |
getLoadHelper()
|
NodeAnnotationData |
getNodeAnnotationData()
|
ReferencedFile |
getNodeContainerDirectory()
File reference to the node container directory. |
int |
getNodeIDSuffix()
|
NodeMessage |
getNodeMessage()
|
NodeContainer.State |
getState()
|
NodeUIInformation |
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. |
void |
setNodeIDSuffix(int nodeIDSuffix)
|
void |
setUIInfo(NodeUIInformation uiInfo)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
CopyNodeContainerMetaPersistor(NodeContainer original,
boolean preserveDeletableFlag,
boolean isUndoableDeleteCommand)
original - To copy frompreserveDeletableFlag - Whether to keep the "is-deletable" flags
in the target.isUndoableDeleteCommand - If to keep the location of the node
directories (important for undo of delete commands, see
WorkflowManager.copy(boolean, WorkflowCopyContent)
for details.)| Method Detail |
|---|
public WorkflowLoadHelper getLoadHelper()
getLoadHelper in interface NodeContainerMetaPersistorpublic NodeAnnotationData getNodeAnnotationData()
getNodeAnnotationData in interface NodeContainerMetaPersistorpublic String getCustomDescription()
getCustomDescription in interface NodeContainerMetaPersistorpublic ReferencedFile getNodeContainerDirectory()
getNodeContainerDirectory in interface NodeContainerMetaPersistorpublic int getNodeIDSuffix()
getNodeIDSuffix in interface NodeContainerMetaPersistorpublic NodeExecutionJobManager getExecutionJobManager()
getExecutionJobManager in interface NodeContainerMetaPersistorpublic NodeSettingsRO getExecutionJobSettings()
getExecutionJobSettings in interface NodeContainerMetaPersistorpublic NodeContainer.State getState()
getState in interface NodeContainerMetaPersistorpublic NodeMessage getNodeMessage()
getNodeMessage in interface NodeContainerMetaPersistorpublic NodeUIInformation getUIInfo()
getUIInfo in interface NodeContainerMetaPersistorpublic boolean isDeletable()
isDeletable in interface NodeContainerMetaPersistor
public boolean load(NodeSettingsRO settings,
NodeSettingsRO parentSettings,
WorkflowPersistor.LoadResult loadResult)
load in interface NodeContainerMetaPersistorsettings - The settings object that is usually read fromparentSettings - The parent settings, mostly ignored.loadResult - Where to add errors and warnings to.
public boolean isDirtyAfterLoad()
isDirtyAfterLoad in interface NodeContainerMetaPersistorpublic void setNodeIDSuffix(int nodeIDSuffix)
setNodeIDSuffix in interface NodeContainerMetaPersistorpublic void setUIInfo(NodeUIInformation uiInfo)
setUIInfo in interface NodeContainerMetaPersistor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||