org.knime.core.node.workflow
Class WorkflowPersistorVersion1xx

java.lang.Object
  extended by org.knime.core.node.workflow.WorkflowPersistorVersion1xx
All Implemented Interfaces:
NodeContainerPersistor, WorkflowPersistor
Direct Known Subclasses:
ObsoleteMetaNodeWorkflowPersistorVersion1xx, WorkflowPersistorVersion200

public class WorkflowPersistorVersion1xx
extends Object
implements WorkflowPersistor

Author:
wiswedel, University of Konstanz

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.knime.core.node.workflow.WorkflowPersistor
WorkflowPersistor.ConnectionContainerTemplate, WorkflowPersistor.LoadResult, WorkflowPersistor.LoadResultEntry, WorkflowPersistor.MetaNodeLinkUpdateResult, WorkflowPersistor.WorkflowLoadResult, WorkflowPersistor.WorkflowPortTemplate
 
Field Summary
 
Fields inherited from interface org.knime.core.node.workflow.WorkflowPersistor
KEY_CONNECTIONS, KEY_ID, KEY_NODES, KEY_UI_INFORMATION, METAINFO_FILE, SAVED_WITH_DATA_FILE, TEMPLATE_FILE, WORKFLOW_FILE
 
Constructor Summary
WorkflowPersistorVersion1xx(HashMap<Integer,ContainerTable> tableRep, NodeContainerMetaPersistorVersion1xx metaPersistor, WorkflowPersistorVersion200.LoadVersion version)
          Internal constructor, not to be called outside this class or its derivates.
WorkflowPersistorVersion1xx(HashMap<Integer,ContainerTable> tableRep, ReferencedFile workflowKNIMEFile, WorkflowLoadHelper loadHelper, WorkflowPersistorVersion200.LoadVersion version)
          Create persistor for load.
 
Method Summary
(package private) static WorkflowPersistorVersion200.LoadVersion canReadVersionV1X0(String versionString)
           
protected  SingleNodeContainerPersistorVersion1xx createSingleNodeContainerPersistorLoad(ReferencedFile nodeFile)
           
protected  WorkflowPersistorVersion1xx createWorkflowPersistorLoad(ReferencedFile wfmFile)
           
 InputStream decipherInput(InputStream input)
          Open decryption stream for locked meta nodes.
protected  void fixDestPortIfNecessary(NodeContainerPersistor destPersistor, WorkflowPersistor.ConnectionContainerTemplate c)
          Fixes destination port index if necessary.
protected  void fixSourcePortIfNecessary(NodeContainerPersistor sourcePersistor, WorkflowPersistor.ConnectionContainerTemplate c)
          Fixes source port index if necessary.
protected  MetaNodeTemplateInformation fixTemplateInformation(MetaNodeTemplateInformation original)
           
protected  String fixUIInfoClassName(String name)
           
 Set<WorkflowPersistor.ConnectionContainerTemplate> getAdditionalConnectionSet()
          Get additional connections.
 Set<WorkflowPersistor.ConnectionContainerTemplate> getConnectionSet()
          The connections between the nodes that are loaded.
 List<Credentials> getCredentials()
          Get (non-null) map of credentials.
 HashMap<Integer,ContainerTable> getGlobalTableRepository()
          
 UIInformation getInPortsBarUIInfo()
          Get UI information for workflow input ports.
 WorkflowPersistor.WorkflowPortTemplate[] getInPortTemplates()
          
(package private)  WorkflowLoadHelper getLoadHelper()
           
 WorkflowPersistorVersion200.LoadVersion getLoadVersion()
          
protected  NodeLogger getLogger()
           
 NodeContainerMetaPersistorVersion1xx getMetaPersistor()
          
 String getName()
          
 NodeContainer getNodeContainer(WorkflowManager parent, NodeID id)
          
 Map<Integer,NodeContainerPersistor> getNodeLoaderMap()
          The map of node ID suffix to persistor.
 List<ReferencedFile> getObsoleteNodeDirectories()
          List of node directories, whose corresponding nodes failed to load.
 UIInformation getOutPortsBarUIInfo()
          Get UI information for workflow output ports.
 WorkflowPersistor.WorkflowPortTemplate[] getOutPortTemplates()
          
 MetaNodeTemplateInformation getTemplateInformation()
          template information associated with the workflow, e.g.
 List<WorkflowAnnotation> getWorkflowAnnotations()
          
 WorkflowCipher getWorkflowCipher()
          
protected  ReferencedFile getWorkflowKNIMEFile()
           
 List<FlowVariable> getWorkflowVariables()
          Get the workflow variables associated with this meta node/workflow.
 boolean isDirtyAfterLoad()
          
protected  WorkflowPersistor.ConnectionContainerTemplate loadConnection(NodeSettingsRO settings)
           
protected  int loadConnectionDestID(NodeSettingsRO settings)
           
protected  int loadConnectionDestPort(NodeSettingsRO settings)
           
protected  int loadConnectionSourcePort(NodeSettingsRO settings)
           
protected  List<Credentials> loadCredentials(NodeSettingsRO settings)
          Loads credentials, this method returns an empty list.
protected  boolean loadIfMustWarnOnDataLoadError(File workflowFile)
          Sub class hook to check whether there is a "loaded with no data" file.
protected  void loadInPortsBarUIInfo(UIInformation uiInfo, NodeSettingsRO settings)
          Sub-class hook to load port bar info.
protected  String loadInPortsBarUIInfoClassName(NodeSettingsRO settings)
          Sub class hook o read port bar info.
protected  NodeSettingsRO loadInPortsSetting(NodeSettingsRO settings)
          Sub class hook o read port settings.
protected  NodeSettingsRO loadInPortsSettingsEnum(NodeSettingsRO settings)
          Sub class hook o read port settings.
protected  WorkflowPersistor.WorkflowPortTemplate loadInPortTemplate(NodeSettingsRO settings)
          Sub class hook o read port settings.
protected  boolean loadIsMetaNode(NodeSettingsRO settings)
           
 void loadNodeContainer(Map<Integer,BufferedDataTable> tblRep, ExecutionMonitor exec, WorkflowPersistor.LoadResult loadResult)
          
protected  ReferencedFile loadNodeFile(NodeSettingsRO settings, ReferencedFile workflowDirRef)
           
protected  int loadNodeIDSuffix(NodeSettingsRO settings)
           
protected  void loadOutPortsBarUIInfo(UIInformation uiInfo, NodeSettingsRO settings)
          Load output port bars.
protected  String loadOutPortsBarUIInfoClassName(NodeSettingsRO settings)
          Sub-class hook to load port bar info.
protected  NodeSettingsRO loadOutPortsSetting(NodeSettingsRO settings)
          Sub class hook o read port settings.
protected  NodeSettingsRO loadOutPortsSettingsEnum(NodeSettingsRO settings)
          Sub class hook o read port settings.
protected  WorkflowPersistor.WorkflowPortTemplate loadOutPortTemplate(NodeSettingsRO settings)
          Sub class hook o read port settings.
protected  NodeSettingsRO loadSettingsForConnections(NodeSettingsRO set)
           
protected  NodeSettingsRO loadSettingsForNodes(NodeSettingsRO set)
           
protected  MetaNodeTemplateInformation loadTemplateInformation(NodeSettingsRO settings)
          Load template information (in this version always MetaNodeTemplateInformation.NONE).
protected  String loadUIInfoClassName(NodeSettingsRO settings)
           
protected  UIInformation loadUIInfoInstance(String className)
          Creates the UIInformaion from given settings, describing whatever additional information was stored (graphical layout?).
protected  void loadUIInfoSettings(UIInformation uiInfo, NodeSettingsRO settings)
           
protected  List<WorkflowAnnotation> loadWorkflowAnnotations(NodeSettingsRO workflowSett)
          Load annotations (added in v2.3).
protected  WorkflowCipher loadWorkflowCipher(WorkflowPersistorVersion200.LoadVersion loadVersion, NodeSettingsRO settings)
           
protected  String loadWorkflowName(NodeSettingsRO set)
          Sub class hook o read workflow name.
protected  List<FlowVariable> loadWorkflowVariables(NodeSettingsRO settings)
          Load workflow variables (not available in 1.3.x flows).
 boolean mustComplainIfStateDoesNotMatch()
          Does this persistor complain if its persisted state state does not match the state after loading (typically all non-executed nodes are configured after load).
 boolean mustWarnOnDataLoadError()
          
 boolean needsResetAfterLoad()
          
 void preLoadNodeContainer(WorkflowPersistor parentPersistor, NodeSettingsRO parentSettings, WorkflowPersistor.LoadResult loadResult)
          
protected  NodeSettingsRO readParentSettings()
           
protected  void setDirtyAfterLoad()
          Mark node as dirty.
 void setNameOverwrite(String nameOverwrite)
          Set a name that overloads the name as persisted in the worklow.
 void setNeedsResetAfterLoad()
          Indicate that this node should better be reset after load.
 void setTemplateInformationLinkURI(URI templateInformationURI)
           
protected  boolean shouldSkipThisNode(NodeSettingsRO settings)
          This is overridden by the meta node loader (1.x.x) and returns true for the "special" nodes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowPersistorVersion1xx

WorkflowPersistorVersion1xx(HashMap<Integer,ContainerTable> tableRep,
                            ReferencedFile workflowKNIMEFile,
                            WorkflowLoadHelper loadHelper,
                            WorkflowPersistorVersion200.LoadVersion version)
Create persistor for load.

Parameters:
tableRep - Table map
workflowKNIMEFile - Associated workflow.knime file
loadHelper - The load helper as required by meta persistor.
versionString - Version string of loading workflow.

WorkflowPersistorVersion1xx

WorkflowPersistorVersion1xx(HashMap<Integer,ContainerTable> tableRep,
                            NodeContainerMetaPersistorVersion1xx metaPersistor,
                            WorkflowPersistorVersion200.LoadVersion version)
Internal constructor, not to be called outside this class or its derivates.

Method Detail

canReadVersionV1X0

static WorkflowPersistorVersion200.LoadVersion canReadVersionV1X0(String versionString)

getLoadVersion

public final WorkflowPersistorVersion200.LoadVersion getLoadVersion()

Specified by:
getLoadVersion in interface WorkflowPersistor

getLogger

protected NodeLogger getLogger()

getLoadHelper

WorkflowLoadHelper getLoadHelper()
Returns:
The load helper as set on the meta persistor. Will be passed on to loaders of contained nodes.

getWorkflowKNIMEFile

protected ReferencedFile getWorkflowKNIMEFile()
Returns:
the workflowDir

getConnectionSet

public Set<WorkflowPersistor.ConnectionContainerTemplate> getConnectionSet()
The connections between the nodes that are loaded. The set only contains connections between nodes of the loader map, it does not contain any other connection (see WorkflowPersistor.getAdditionalConnectionSet()).

Specified by:
getConnectionSet in interface WorkflowPersistor
Returns:
The connections

getAdditionalConnectionSet

public Set<WorkflowPersistor.ConnectionContainerTemplate> getAdditionalConnectionSet()
Get additional connections. These are connections that connect nodes that were loaded to nodes that are already in the workflow. In most cases this list is empty except for undo commands that restore deleted nodes (and their connections to other nodes in the workflow).

Specified by:
getAdditionalConnectionSet in interface WorkflowPersistor
Returns:
Such a set (often empty but never null).

getNodeLoaderMap

public Map<Integer,NodeContainerPersistor> getNodeLoaderMap()
The map of node ID suffix to persistor.

Specified by:
getNodeLoaderMap in interface WorkflowPersistor
Returns:
The persistor map.

mustWarnOnDataLoadError

public boolean mustWarnOnDataLoadError()

Specified by:
mustWarnOnDataLoadError in interface WorkflowPersistor
Returns:
the shouldFailOnLoadDataError

getMetaPersistor

public NodeContainerMetaPersistorVersion1xx getMetaPersistor()

Specified by:
getMetaPersistor in interface NodeContainerPersistor

getGlobalTableRepository

public HashMap<Integer,ContainerTable> getGlobalTableRepository()

Specified by:
getGlobalTableRepository in interface WorkflowPersistor

getNodeContainer

public NodeContainer getNodeContainer(WorkflowManager parent,
                                      NodeID id)

Specified by:
getNodeContainer in interface NodeContainerPersistor

getName

public String getName()

Specified by:
getName in interface WorkflowPersistor

getWorkflowCipher

public WorkflowCipher getWorkflowCipher()

Specified by:
getWorkflowCipher in interface WorkflowPersistor
Returns:
cipher associated with the metanode/workflow, often just WorkflowCipher.NULL_CIPHER, never null.

setTemplateInformationLinkURI

public void setTemplateInformationLinkURI(URI templateInformationURI)
Parameters:
templateInformationURI - the uri to set

setNameOverwrite

public void setNameOverwrite(String nameOverwrite)
Set a name that overloads the name as persisted in the worklow. Used to overwrite the name in meta node templates (name is then derived from the folder name).

Parameters:
nameOverwrite - the nameOverwrite to set

getTemplateInformation

public MetaNodeTemplateInformation getTemplateInformation()
template information associated with the workflow, e.g. whether it is linking to same central master meta node.

Specified by:
getTemplateInformation in interface WorkflowPersistor
Returns:
The template info

decipherInput

public InputStream decipherInput(InputStream input)
                          throws IOException
Open decryption stream for locked meta nodes. Implementations will also call the decipher method on their parent workflow persistors.

Specified by:
decipherInput in interface WorkflowPersistor
Parameters:
input - The input to decipher.
Returns:
The decipherd input, mostly just the input.
Throws:
IOException

getWorkflowVariables

public List<FlowVariable> getWorkflowVariables()
Get the workflow variables associated with this meta node/workflow. This method must not return null (but possibly an empty list). The result may be unmodifiable.

Specified by:
getWorkflowVariables in interface WorkflowPersistor
Returns:
The workflow variables.

getCredentials

public List<Credentials> getCredentials()
Get (non-null) map of credentials.

Specified by:
getCredentials in interface WorkflowPersistor
Returns:
The credentials defined on this meta node.

getWorkflowAnnotations

public List<WorkflowAnnotation> getWorkflowAnnotations()

Specified by:
getWorkflowAnnotations in interface WorkflowPersistor
Returns:
(non-mull) map of annotations.

getObsoleteNodeDirectories

public List<ReferencedFile> getObsoleteNodeDirectories()
List of node directories, whose corresponding nodes failed to load. These directories will be deleted in the next save invocation.

Specified by:
getObsoleteNodeDirectories in interface WorkflowPersistor
Returns:
List of obsolete node directories

getInPortTemplates

public WorkflowPersistor.WorkflowPortTemplate[] getInPortTemplates()

Specified by:
getInPortTemplates in interface WorkflowPersistor

getOutPortTemplates

public WorkflowPersistor.WorkflowPortTemplate[] getOutPortTemplates()

Specified by:
getOutPortTemplates in interface WorkflowPersistor

getInPortsBarUIInfo

public UIInformation getInPortsBarUIInfo()
Get UI information for workflow input ports.

Specified by:
getInPortsBarUIInfo in interface WorkflowPersistor
Returns:
the ui info or null if not set.

getOutPortsBarUIInfo

public UIInformation getOutPortsBarUIInfo()
Get UI information for workflow output ports.

Specified by:
getOutPortsBarUIInfo in interface WorkflowPersistor
Returns:
the ui info or null if not set.

needsResetAfterLoad

public boolean needsResetAfterLoad()

Specified by:
needsResetAfterLoad in interface NodeContainerPersistor

setNeedsResetAfterLoad

public void setNeedsResetAfterLoad()
Indicate that this node should better be reset after load. (Due to loading problems).


isDirtyAfterLoad

public boolean isDirtyAfterLoad()

Specified by:
isDirtyAfterLoad in interface NodeContainerPersistor

mustComplainIfStateDoesNotMatch

public boolean mustComplainIfStateDoesNotMatch()
Does this persistor complain if its persisted state 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.

Specified by:
mustComplainIfStateDoesNotMatch in interface NodeContainerPersistor
Returns:
Such a property.

setDirtyAfterLoad

protected void setDirtyAfterLoad()
Mark node as dirty.


preLoadNodeContainer

public void preLoadNodeContainer(WorkflowPersistor parentPersistor,
                                 NodeSettingsRO parentSettings,
                                 WorkflowPersistor.LoadResult loadResult)
                          throws InvalidSettingsException,
                                 IOException

Specified by:
preLoadNodeContainer in interface NodeContainerPersistor
Throws:
InvalidSettingsException
IOException

loadNodeContainer

public void loadNodeContainer(Map<Integer,BufferedDataTable> tblRep,
                              ExecutionMonitor exec,
                              WorkflowPersistor.LoadResult loadResult)
                       throws CanceledExecutionException,
                              IOException

Specified by:
loadNodeContainer in interface NodeContainerPersistor
Throws:
CanceledExecutionException
IOException

fixSourcePortIfNecessary

protected void fixSourcePortIfNecessary(NodeContainerPersistor sourcePersistor,
                                        WorkflowPersistor.ConnectionContainerTemplate c)
Fixes source port index if necessary. Fixes the mandatory flow variable port object.

Parameters:
sourcePersistor - The persistor of the source node.
c - The connection template to be fixed.

fixDestPortIfNecessary

protected void fixDestPortIfNecessary(NodeContainerPersistor destPersistor,
                                      WorkflowPersistor.ConnectionContainerTemplate c)
Fixes destination port index if necessary. For v1.x flows, e.g., the indices of model and data ports were swapped. Subclasses will overwrite this method (e.g. to enable loading flows, which did not have the mandatory flow variable port object).

Parameters:
destPersistor - The persistor of the destination node.
c - The connection template to be fixed.

readParentSettings

protected NodeSettingsRO readParentSettings()
                                     throws IOException
Throws:
IOException

shouldSkipThisNode

protected boolean shouldSkipThisNode(NodeSettingsRO settings)
This is overridden by the meta node loader (1.x.x) and returns true for the "special" nodes.

Parameters:
settings - node sub-element
Returns:
true if to skip (though in 99.9% false)

loadNodeIDSuffix

protected int loadNodeIDSuffix(NodeSettingsRO settings)
                        throws InvalidSettingsException
Throws:
InvalidSettingsException

loadUIInfoClassName

protected String loadUIInfoClassName(NodeSettingsRO settings)
                              throws InvalidSettingsException
Throws:
InvalidSettingsException

fixUIInfoClassName

protected String fixUIInfoClassName(String name)

loadUIInfoInstance

protected UIInformation loadUIInfoInstance(String className)
Creates the UIInformaion from given settings, describing whatever additional information was stored (graphical layout?).

Parameters:
className - The name of the class to be loaded.
Returns:
new UIInformation object or null

loadUIInfoSettings

protected void loadUIInfoSettings(UIInformation uiInfo,
                                  NodeSettingsRO settings)
                           throws InvalidSettingsException
Throws:
InvalidSettingsException

loadInPortsBarUIInfoClassName

protected String loadInPortsBarUIInfoClassName(NodeSettingsRO settings)
                                        throws InvalidSettingsException
Sub class hook o read port bar info.

Parameters:
settings - Ignored.
Returns:
null
Throws:
InvalidSettingsException - Not actually thrown here.

loadInPortsBarUIInfo

protected void loadInPortsBarUIInfo(UIInformation uiInfo,
                                    NodeSettingsRO settings)
                             throws InvalidSettingsException
Sub-class hook to load port bar info.

Parameters:
uiInfo - Ignored.
settings - Ignored.
Throws:
InvalidSettingsException - Not actually thrown

loadOutPortsBarUIInfoClassName

protected String loadOutPortsBarUIInfoClassName(NodeSettingsRO settings)
                                         throws InvalidSettingsException
Sub-class hook to load port bar info.

Parameters:
settings - Ignored.
Returns:
null
Throws:
InvalidSettingsException - Not actually thrown

loadOutPortsBarUIInfo

protected void loadOutPortsBarUIInfo(UIInformation uiInfo,
                                     NodeSettingsRO settings)
                              throws InvalidSettingsException
Load output port bars. This implementation does nothing, sub-classes override this method.

Parameters:
uiInfo - Ignored here.
settings - Ignored here.
Throws:
InvalidSettingsException - Not actually thrown here.

loadNodeFile

protected ReferencedFile loadNodeFile(NodeSettingsRO settings,
                                      ReferencedFile workflowDirRef)
                               throws InvalidSettingsException
Throws:
InvalidSettingsException

loadIsMetaNode

protected boolean loadIsMetaNode(NodeSettingsRO settings)
                          throws InvalidSettingsException
Throws:
InvalidSettingsException

loadSettingsForConnections

protected NodeSettingsRO loadSettingsForConnections(NodeSettingsRO set)
                                             throws InvalidSettingsException
Throws:
InvalidSettingsException

loadConnection

protected WorkflowPersistor.ConnectionContainerTemplate loadConnection(NodeSettingsRO settings)
                                                                throws InvalidSettingsException
Throws:
InvalidSettingsException

loadConnectionDestID

protected int loadConnectionDestID(NodeSettingsRO settings)
                            throws InvalidSettingsException
Throws:
InvalidSettingsException

loadConnectionDestPort

protected int loadConnectionDestPort(NodeSettingsRO settings)
                              throws InvalidSettingsException
Throws:
InvalidSettingsException

loadConnectionSourcePort

protected int loadConnectionSourcePort(NodeSettingsRO settings)
                                throws InvalidSettingsException
Throws:
InvalidSettingsException

loadSettingsForNodes

protected NodeSettingsRO loadSettingsForNodes(NodeSettingsRO set)
                                       throws InvalidSettingsException
Throws:
InvalidSettingsException

loadWorkflowName

protected String loadWorkflowName(NodeSettingsRO set)
                           throws InvalidSettingsException
Sub class hook o read workflow name.

Parameters:
set - Ignored.
Returns:
"Workflow Manager"
Throws:
InvalidSettingsException - Not actually thrown here.

loadWorkflowCipher

protected WorkflowCipher loadWorkflowCipher(WorkflowPersistorVersion200.LoadVersion loadVersion,
                                            NodeSettingsRO settings)
                                     throws InvalidSettingsException
Throws:
InvalidSettingsException

loadTemplateInformation

protected MetaNodeTemplateInformation loadTemplateInformation(NodeSettingsRO settings)
                                                       throws InvalidSettingsException
Load template information (in this version always MetaNodeTemplateInformation.NONE).

Parameters:
settings - To load from
Returns:
MetaNodeTemplateInformation#NONE
Throws:
InvalidSettingsException - If fails

fixTemplateInformation

protected MetaNodeTemplateInformation fixTemplateInformation(MetaNodeTemplateInformation original)
                                                      throws InvalidSettingsException
Throws:
InvalidSettingsException

loadWorkflowVariables

protected List<FlowVariable> loadWorkflowVariables(NodeSettingsRO settings)
                                            throws InvalidSettingsException
Load workflow variables (not available in 1.3.x flows).

Parameters:
settings - To load from.
Returns:
The variables in a list.
Throws:
InvalidSettingsException - If any settings-related error occurs.

loadCredentials

protected List<Credentials> loadCredentials(NodeSettingsRO settings)
                                     throws InvalidSettingsException
Loads credentials, this method returns an empty list. Credentials added for v2.2

Parameters:
settings - to load from.
Returns:
the credentials list
Throws:
InvalidSettingsException - If this fails for any reason.

loadWorkflowAnnotations

protected List<WorkflowAnnotation> loadWorkflowAnnotations(NodeSettingsRO workflowSett)
                                                    throws InvalidSettingsException
Load annotations (added in v2.3).

Parameters:
workflowSett - to load from
Returns:
non-null list.
Throws:
InvalidSettingsException - If this fails for any reason.

loadInPortsSetting

protected NodeSettingsRO loadInPortsSetting(NodeSettingsRO settings)
                                     throws InvalidSettingsException
Sub class hook o read port settings.

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.

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.

Parameters:
settings - Ignored.
Returns:
null
Throws:
InvalidSettingsException - Not actually thrown here.

loadOutPortsSetting

protected NodeSettingsRO loadOutPortsSetting(NodeSettingsRO settings)
                                      throws InvalidSettingsException
Sub class hook o read port settings.

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.

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.

Parameters:
settings - Ignored.
Returns:
null
Throws:
InvalidSettingsException - Not actually thrown here.

loadIfMustWarnOnDataLoadError

protected boolean loadIfMustWarnOnDataLoadError(File workflowFile)
Sub class hook to check whether there is a "loaded with no data" file.

Parameters:
workflowFile - Ignored here
Returns:
true

createSingleNodeContainerPersistorLoad

protected SingleNodeContainerPersistorVersion1xx createSingleNodeContainerPersistorLoad(ReferencedFile nodeFile)

createWorkflowPersistorLoad

protected WorkflowPersistorVersion1xx createWorkflowPersistorLoad(ReferencedFile wfmFile)


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.