public static final class SingleNodeContainer.SingleNodeContainerSettings extends Object implements Cloneable
Constructor and Description |
---|
SingleNodeContainerSettings()
Creates a settings object with default values.
|
SingleNodeContainerSettings(NodeSettingsRO settings)
Creates a new instance holding the settings contained in the
specified object.
|
Modifier and Type | Method and Description |
---|---|
protected SingleNodeContainer.SingleNodeContainerSettings |
clone() |
SingleNodeContainer.MemoryPolicy |
getMemoryPolicy()
Returns the memory policy currently stored in this settings object.
|
NodeSettingsRO |
getModelSettings() |
NodeSettings |
getModelSettingsClone() |
NodeSettingsRO |
getVariablesSettings() |
void |
save(NodeSettingsWO settings)
Writes the current settings values into the passed argument.
|
void |
setMemoryPolicy(SingleNodeContainer.MemoryPolicy memPolicy)
Store a new memory policy in this settings object.
|
void |
setModelSettings(NodeSettingsRO modelSettings) |
void |
setVariablesSettings(NodeSettings variablesSettings) |
public SingleNodeContainerSettings()
public SingleNodeContainerSettings(NodeSettingsRO settings) throws InvalidSettingsException
settings
- the object with the settings to readInvalidSettingsException
- if the settings in the argument are
invalidpublic void save(NodeSettingsWO settings)
settings
- the object to write the settings into.public void setMemoryPolicy(SingleNodeContainer.MemoryPolicy memPolicy)
memPolicy
- the new policy to setpublic SingleNodeContainer.MemoryPolicy getMemoryPolicy()
public NodeSettings getModelSettingsClone()
public NodeSettingsRO getModelSettings()
public void setModelSettings(NodeSettingsRO modelSettings)
modelSettings
- the modelSettings to setpublic NodeSettingsRO getVariablesSettings()
public void setVariablesSettings(NodeSettings variablesSettings)
variablesSettings
- the variablesSettings to setprotected SingleNodeContainer.SingleNodeContainerSettings clone()
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.