public class CopyNodePersistor extends Object implements NodePersistor
NodePersistor.LoadNodeModelSettingsFailPolicyCFG_DATA_FILE, CFG_DATA_FILE_DIR, CFG_HAS_SPEC_FILE, CFG_ISCONFIGURED, CFG_ISEXECUTED, CFG_MEMORY_POLICY, CFG_MODEL_FILES, CFG_NAME, CFG_NODE_MESSAGE, CFG_OUTPUT_PREFIX, CFG_SPEC_FILES, DATA_FILE_DIR, DATA_FILE_PREFIX, INTERN_FILE_DIR, MODEL_FILE_PREFIX, SETTINGS_FILE_NAME| Constructor and Description |
|---|
CopyNodePersistor() |
| Modifier and Type | Method and Description |
|---|---|
IFileStoreHandler |
getFileStoreHandler() |
PortObject[] |
getInternalHeldPortObjects() |
ReferencedFile |
getNodeInternDirectory() |
PortObject |
getPortObject(int outportIndex) |
PortObjectSpec |
getPortObjectSpec(int outportIndex) |
String |
getPortObjectSummary(int outportIndex) |
String |
getWarningMessage() |
boolean |
hasContent() |
boolean |
isConfigured() |
boolean |
isDirtyAfterLoad()
Whether this node should be marked as dirty after load.
|
boolean |
isExecuted() |
void |
loadInto(Node node)
Apply the settings to the new node.
|
boolean |
mustWarnOnDataLoadError() |
boolean |
needsResetAfterLoad() |
void |
setDirtyAfterLoad()
Sets the dirty flag on this node.
|
void |
setNeedsResetAfterLoad()
Indicate an error and that this node should better be reset after load.
|
public void loadInto(Node node)
node - the node just created.public boolean isConfigured()
isConfigured in interface NodePersistorpublic boolean isDirtyAfterLoad()
NodePersistor.setDirtyAfterLoad()
has been set to true or NodeContentPersistor.needsResetAfterLoad() returns true.isDirtyAfterLoad in interface NodePersistorpublic boolean isExecuted()
isExecuted in interface NodePersistorpublic void setDirtyAfterLoad()
NodeContentPersistor.setNeedsResetAfterLoad() is called.setDirtyAfterLoad in interface NodePersistorpublic PortObject[] getInternalHeldPortObjects()
getInternalHeldPortObjects in interface NodeContentPersistorpublic ReferencedFile getNodeInternDirectory()
getNodeInternDirectory in interface NodeContentPersistorpublic PortObject getPortObject(int outportIndex)
getPortObject in interface NodeContentPersistorpublic PortObjectSpec getPortObjectSpec(int outportIndex)
getPortObjectSpec in interface NodeContentPersistorpublic String getPortObjectSummary(int outportIndex)
getPortObjectSummary in interface NodeContentPersistorpublic String getWarningMessage()
getWarningMessage in interface NodeContentPersistorpublic boolean hasContent()
hasContent in interface NodeContentPersistorpublic boolean mustWarnOnDataLoadError()
mustWarnOnDataLoadError in interface NodeContentPersistorpublic boolean needsResetAfterLoad()
needsResetAfterLoad in interface NodeContentPersistorpublic void setNeedsResetAfterLoad()
setNeedsResetAfterLoad in interface NodeContentPersistorpublic IFileStoreHandler getFileStoreHandler()
getFileStoreHandler in interface NodeContentPersistor
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.