org.knime.core.node.workflow
Class ObsoleteMetaNodeWorkflowPersistorVersion1xx
java.lang.Object
org.knime.core.node.workflow.WorkflowPersistorVersion1xx
org.knime.core.node.workflow.ObsoleteMetaNodeWorkflowPersistorVersion1xx
- All Implemented Interfaces:
- NodeContainerPersistor, WorkflowPersistor
public class ObsoleteMetaNodeWorkflowPersistorVersion1xx
- extends WorkflowPersistorVersion1xx
- Author:
- wiswedel, University of Konstanz
| Methods inherited from class org.knime.core.node.workflow.WorkflowPersistorVersion1xx |
canReadVersionV1X0, createWorkflowPersistorLoad, decipherInput, fixDestPortIfNecessary, fixSourcePortIfNecessary, fixTemplateInformation, fixUIInfoClassName, getAdditionalConnectionSet, getConnectionSet, getCredentials, getGlobalTableRepository, getInPortsBarUIInfo, getInPortTemplates, getLoadHelper, getLoadVersion, getLogger, getMetaPersistor, getName, getNodeContainer, getNodeLoaderMap, getObsoleteNodeDirectories, getOutPortsBarUIInfo, getOutPortTemplates, getTemplateInformation, getWorkflowAnnotations, getWorkflowCipher, getWorkflowVariables, isDirtyAfterLoad, loadConnectionDestID, loadConnectionDestPort, loadConnectionSourcePort, loadCredentials, loadIfMustWarnOnDataLoadError, loadInPortsBarUIInfo, loadInPortsBarUIInfoClassName, loadIsMetaNode, loadNodeContainer, loadNodeFile, loadNodeIDSuffix, loadOutPortsBarUIInfo, loadOutPortsBarUIInfoClassName, loadSettingsForNodes, loadTemplateInformation, loadUIInfoClassName, loadUIInfoInstance, loadUIInfoSettings, loadWorkflowAnnotations, loadWorkflowCipher, loadWorkflowVariables, mustComplainIfStateDoesNotMatch, mustWarnOnDataLoadError, needsResetAfterLoad, setDirtyAfterLoad, setNameOverwrite, setNeedsResetAfterLoad, setTemplateInformationLinkURI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OLD_META_NODES
public static final List<String> OLD_META_NODES
ObsoleteMetaNodeWorkflowPersistorVersion1xx
public ObsoleteMetaNodeWorkflowPersistorVersion1xx(HashMap<Integer,ContainerTable> globalRep,
ReferencedFile workflowKNIMEFile,
WorkflowLoadHelper loadHelper,
WorkflowPersistorVersion200.LoadVersion version)
preLoadNodeContainer
public void preLoadNodeContainer(WorkflowPersistor parentPersistor,
NodeSettingsRO parentSettings,
WorkflowPersistor.LoadResult result)
throws IOException,
InvalidSettingsException
-
- Specified by:
preLoadNodeContainer in interface NodeContainerPersistor- Overrides:
preLoadNodeContainer in class WorkflowPersistorVersion1xx
- Throws:
IOException
InvalidSettingsException
getWorkflowKNIMEFile
protected ReferencedFile getWorkflowKNIMEFile()
-
- Overrides:
getWorkflowKNIMEFile in class WorkflowPersistorVersion1xx
- Returns:
- the workflowDir
shouldSkipThisNode
protected boolean shouldSkipThisNode(NodeSettingsRO settings)
- This is overridden by the meta node loader (1.x.x) and returns
true for the "special" nodes.
- Overrides:
shouldSkipThisNode in class WorkflowPersistorVersion1xx
- Parameters:
settings - node sub-element
- Returns:
- true if to skip (though in 99.9% false)
createSingleNodeContainerPersistorLoad
protected SingleNodeContainerPersistorVersion1xx createSingleNodeContainerPersistorLoad(ReferencedFile nodeFile)
-
- Overrides:
createSingleNodeContainerPersistorLoad in class WorkflowPersistorVersion1xx
loadWorkflowName
protected String loadWorkflowName(NodeSettingsRO set)
throws InvalidSettingsException
- Sub class hook o read workflow name.
- Overrides:
loadWorkflowName in class WorkflowPersistorVersion1xx
- Parameters:
set - Ignored.
- Returns:
- "Workflow Manager"
- Throws:
InvalidSettingsException - Not actually thrown here.
readParentSettings
protected NodeSettingsRO readParentSettings()
throws IOException
-
- Overrides:
readParentSettings in class WorkflowPersistorVersion1xx
- Throws:
IOException
loadOutPortsSetting
protected NodeSettingsRO loadOutPortsSetting(NodeSettingsRO settings)
throws InvalidSettingsException
- Sub class hook o read port settings.
- Overrides:
loadOutPortsSetting in class WorkflowPersistorVersion1xx
- Parameters:
settings - Ignored.
- Returns:
- null
- Throws:
InvalidSettingsException - Not actually thrown here.
loadOutPortsSettingsEnum
protected NodeSettingsRO loadOutPortsSettingsEnum(NodeSettingsRO settings)
throws InvalidSettingsException
- Sub class hook o read port settings.
- Overrides:
loadOutPortsSettingsEnum in class WorkflowPersistorVersion1xx
- Parameters:
settings - Ignored.
- Returns:
- null
- Throws:
InvalidSettingsException - Not actually thrown here.
loadOutPortTemplate
protected WorkflowPersistor.WorkflowPortTemplate loadOutPortTemplate(NodeSettingsRO settings)
throws InvalidSettingsException
- Sub class hook o read port settings.
- Overrides:
loadOutPortTemplate in class WorkflowPersistorVersion1xx
- Parameters:
settings - Ignored.
- Returns:
- null
- Throws:
InvalidSettingsException - Not actually thrown here.
loadInPortsSetting
protected NodeSettingsRO loadInPortsSetting(NodeSettingsRO settings)
throws InvalidSettingsException
- Sub class hook o read port settings.
- Overrides:
loadInPortsSetting in class WorkflowPersistorVersion1xx
- Parameters:
settings - Ignored.
- Returns:
- null
- Throws:
InvalidSettingsException - Not actually thrown here.
loadInPortsSettingsEnum
protected NodeSettingsRO loadInPortsSettingsEnum(NodeSettingsRO settings)
throws InvalidSettingsException
- Sub class hook o read port settings.
- Overrides:
loadInPortsSettingsEnum in class WorkflowPersistorVersion1xx
- Parameters:
settings - Ignored.
- Returns:
- null
- Throws:
InvalidSettingsException - Not actually thrown here.
loadInPortTemplate
protected WorkflowPersistor.WorkflowPortTemplate loadInPortTemplate(NodeSettingsRO settings)
throws InvalidSettingsException
- Sub class hook o read port settings.
- Overrides:
loadInPortTemplate in class WorkflowPersistorVersion1xx
- Parameters:
settings - Ignored.
- Returns:
- null
- Throws:
InvalidSettingsException - Not actually thrown here.
loadSettingsForConnections
protected NodeSettingsRO loadSettingsForConnections(NodeSettingsRO set)
throws InvalidSettingsException
-
- Overrides:
loadSettingsForConnections in class WorkflowPersistorVersion1xx
- Throws:
InvalidSettingsException
loadConnection
protected WorkflowPersistor.ConnectionContainerTemplate loadConnection(NodeSettingsRO settings)
throws InvalidSettingsException
-
- Overrides:
loadConnection in class WorkflowPersistorVersion1xx
- Throws:
InvalidSettingsException
Copyright, 2003 - 2012. 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.