org.knime.core.node
Interface NodePersistor

All Superinterfaces:
NodeContentPersistor
All Known Implementing Classes:
CopyNodePersistor, NodePersistorVersion1xx, NodePersistorVersion200

public interface NodePersistor
extends NodeContentPersistor


Nested Class Summary
static class NodePersistor.LoadNodeModelSettingsFailPolicy
          Policy on how to behave if the node model settings fails.
 
Field Summary
static String CFG_DATA_FILE
           
static String CFG_DATA_FILE_DIR
           
static String CFG_HAS_SPEC_FILE
           
static String CFG_ISCONFIGURED
           
static String CFG_ISEXECUTED
           
static String CFG_MEMORY_POLICY
          Config key: What memory policy to use for a node outport.
static String CFG_MODEL_FILES
           
static String CFG_NAME
           
static String CFG_NODE_MESSAGE
           
static String CFG_OUTPUT_PREFIX
           
static String CFG_SPEC_FILES
           
static String DATA_FILE_DIR
          Directory name to save and load the data.
static String DATA_FILE_PREFIX
           
static String INTERN_FILE_DIR
          Directory name to save and load node internals.
static String MODEL_FILE_PREFIX
           
static String SETTINGS_FILE_NAME
          Node settings XML file name.
 
Method Summary
 NodePersistor.LoadNodeModelSettingsFailPolicy getModelSettingsFailPolicy()
           
 NodeSettingsRO getSettings()
           
 boolean isConfigured()
           
 boolean isDirtyAfterLoad()
          Whether this node should be marked as dirty after load.
 boolean isExecuted()
           
 void setDirtyAfterLoad()
          Sets the dirty flag on this node.
 
Methods inherited from interface org.knime.core.node.NodeContentPersistor
getInternalHeldTables, getNodeInternDirectory, getPortObject, getPortObjectSpec, getPortObjectSummary, getWarningMessage, hasContent, mustWarnOnDataLoadError, needsResetAfterLoad, setNeedsResetAfterLoad
 

Field Detail

SETTINGS_FILE_NAME

static final String SETTINGS_FILE_NAME
Node settings XML file name.

See Also:
Constant Field Values

INTERN_FILE_DIR

static final String INTERN_FILE_DIR
Directory name to save and load node internals.

See Also:
Constant Field Values

DATA_FILE_DIR

static final String DATA_FILE_DIR
Directory name to save and load the data.

See Also:
Constant Field Values

CFG_NAME

static final String CFG_NAME
See Also:
Constant Field Values

CFG_ISCONFIGURED

static final String CFG_ISCONFIGURED
See Also:
Constant Field Values

CFG_ISEXECUTED

static final String CFG_ISEXECUTED
See Also:
Constant Field Values

CFG_NODE_MESSAGE

static final String CFG_NODE_MESSAGE
See Also:
Constant Field Values

CFG_SPEC_FILES

static final String CFG_SPEC_FILES
See Also:
Constant Field Values

CFG_HAS_SPEC_FILE

static final String CFG_HAS_SPEC_FILE
See Also:
Constant Field Values

CFG_DATA_FILE

static final String CFG_DATA_FILE
See Also:
Constant Field Values

CFG_DATA_FILE_DIR

static final String CFG_DATA_FILE_DIR
See Also:
Constant Field Values

DATA_FILE_PREFIX

static final String DATA_FILE_PREFIX
See Also:
Constant Field Values

CFG_MODEL_FILES

static final String CFG_MODEL_FILES
See Also:
Constant Field Values

MODEL_FILE_PREFIX

static final String MODEL_FILE_PREFIX
See Also:
Constant Field Values

CFG_OUTPUT_PREFIX

static final String CFG_OUTPUT_PREFIX
See Also:
Constant Field Values

CFG_MEMORY_POLICY

static final String CFG_MEMORY_POLICY
Config key: What memory policy to use for a node outport.

See Also:
Constant Field Values
Method Detail

isConfigured

boolean isConfigured()

isExecuted

boolean isExecuted()

isDirtyAfterLoad

boolean isDirtyAfterLoad()
Whether this node should be marked as dirty after load. This is true if either the setDirtyAfterLoad() has been set to true or NodeContentPersistor.needsResetAfterLoad() returns true.

Returns:
This property.

setDirtyAfterLoad

void setDirtyAfterLoad()
Sets the dirty flag on this node. The node will also be dirty if the NodeContentPersistor.setNeedsResetAfterLoad() is called.


getModelSettingsFailPolicy

NodePersistor.LoadNodeModelSettingsFailPolicy getModelSettingsFailPolicy()

getSettings

NodeSettingsRO getSettings()


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
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.