|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.node.workflow.SingleNodeContainerPersistorVersion1xx
public class SingleNodeContainerPersistorVersion1xx
Field Summary |
---|
Fields inherited from interface org.knime.core.node.workflow.SingleNodeContainerPersistor |
---|
KEY_FACTORY_NAME, SETTINGS_FILE_NAME |
Constructor Summary | |
---|---|
SingleNodeContainerPersistorVersion1xx(WorkflowPersistorVersion1xx workflowPersistor,
String versionString)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
SingleNodeContainerPersistorVersion1xx(WorkflowPersistorVersion1xx workflowPersistor, String versionString)
Method Detail |
---|
protected final String getVersionString()
protected NodeLogger getLogger()
public boolean needsResetAfterLoad()
needsResetAfterLoad
in interface NodeContainerPersistor
public void setNeedsResetAfterLoad()
public boolean isDirtyAfterLoad()
isDirtyAfterLoad
in interface NodeContainerPersistor
public boolean mustComplainIfStateDoesNotMatch()
state
does not match the state after
loading (typically all non-executed nodes are configured after load).
This is true for all SingleNodeContainer and newer meta nodes,
but it will be false for meta nodes, which are loaded from 1.x workflow.
mustComplainIfStateDoesNotMatch
in interface NodeContainerPersistor
protected void setDirtyAfterLoad()
public NodeContainerMetaPersistor getMetaPersistor()
getMetaPersistor
in interface NodeContainerPersistor
public Node getNode()
getNode
in interface SingleNodeContainerPersistor
public SingleNodeContainer.SingleNodeContainerSettings getSNCSettings()
getSNCSettings
in interface SingleNodeContainerPersistor
public List<FlowObject> getFlowObjects()
getFlowObjects
in interface SingleNodeContainerPersistor
public SingleNodeContainer getNodeContainer(WorkflowManager wm, NodeID id)
getNodeContainer
in interface NodeContainerPersistor
protected NodePersistorVersion1xx createNodePersistor()
public void preLoadNodeContainer(ReferencedFile settingsFileRef, NodeSettingsRO parentSettings, WorkflowPersistor.LoadResult result) throws InvalidSettingsException, IOException
preLoadNodeContainer
in interface NodeContainerPersistor
InvalidSettingsException
IOException
public void loadNodeContainer(Map<Integer,BufferedDataTable> tblRep, ExecutionMonitor exec, WorkflowPersistor.LoadResult result) throws InvalidSettingsException, CanceledExecutionException, IOException
loadNodeContainer
in interface NodeContainerPersistor
InvalidSettingsException
CanceledExecutionException
IOException
protected NodeContainerMetaPersistorVersion1xx createNodeContainerMetaPersistor(ReferencedFile baseDir)
protected String loadNodeFactoryClassName(NodeSettingsRO parentSettings, NodeSettingsRO settings) throws InvalidSettingsException
InvalidSettingsException
protected NodeFactory<NodeModel> loadNodeFactory(String factoryClassName) throws InvalidSettingsException, InstantiationException, IllegalAccessException, ClassNotFoundException
InvalidSettingsException
InstantiationException
IllegalAccessException
ClassNotFoundException
protected String loadNodeFile(NodeSettingsRO settings) throws InvalidSettingsException
InvalidSettingsException
protected SingleNodeContainer.SingleNodeContainerSettings loadSNCSettings(NodeSettingsRO settings, NodePersistorVersion1xx nodePersistor) throws InvalidSettingsException
InvalidSettingsException
protected List<FlowObject> loadFlowObjects(NodeSettingsRO settings) throws InvalidSettingsException
InvalidSettingsException
protected boolean shouldFixModelPortOrder()
WorkflowPersistorVersion1xx getWorkflowManagerPersistor()
public boolean mustWarnOnDataLoadError()
public NodePersistor.LoadNodeModelSettingsFailPolicy getModelSettingsFailPolicy()
static final NodePersistor.LoadNodeModelSettingsFailPolicy translateToFailPolicy(NodeContainer.State nodeState)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |