|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.node.workflow.WorkflowPersistorVersion1xx
org.knime.core.node.workflow.WorkflowPersistorVersion200
public class WorkflowPersistorVersion200
Nested Class Summary | |
---|---|
(package private) static class |
WorkflowPersistorVersion200.LoadVersion
A Version representing a specific workflow format. |
Nested classes/interfaces inherited from interface org.knime.core.node.workflow.WorkflowPersistor |
---|
WorkflowPersistor.ConnectionContainerTemplate, WorkflowPersistor.LoadResult, WorkflowPersistor.LoadResultEntry, WorkflowPersistor.WorkflowLoadResult, WorkflowPersistor.WorkflowPortTemplate |
Field Summary | |
---|---|
(package private) static String |
VERSION_LATEST
|
Fields inherited from interface org.knime.core.node.workflow.WorkflowPersistor |
---|
KEY_CONNECTIONS, KEY_ID, KEY_NODES, KEY_UI_INFORMATION, SAVED_WITH_DATA_FILE, WORKFLOW_FILE |
Constructor Summary | |
---|---|
WorkflowPersistorVersion200()
|
|
WorkflowPersistorVersion200(HashMap<Integer,ContainerTable> tableRep,
String versionString)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final String VERSION_LATEST
Constructor Detail |
---|
WorkflowPersistorVersion200()
WorkflowPersistorVersion200(HashMap<Integer,ContainerTable> tableRep, String versionString)
Method Detail |
---|
static boolean canReadVersion(String versionString)
protected String getSaveVersion()
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
mustComplainIfStateDoesNotMatch
in class WorkflowPersistorVersion1xx
public List<FlowVariable> loadWorkflowVariables(NodeSettingsRO settings) throws InvalidSettingsException
loadWorkflowVariables
in class WorkflowPersistorVersion1xx
settings
- To load from.
InvalidSettingsException
- If any settings-related error occurs.protected String loadWorkflowName(NodeSettingsRO set) throws InvalidSettingsException
loadWorkflowName
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected NodeSettingsRO readParentSettings() throws IOException
readParentSettings
in class WorkflowPersistorVersion1xx
IOException
protected boolean loadIsMetaNode(NodeSettingsRO settings) throws InvalidSettingsException
loadIsMetaNode
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected String loadUIInfoClassName(NodeSettingsRO settings) throws InvalidSettingsException
loadUIInfoClassName
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected void loadUIInfoSettings(UIInformation uiInfo, NodeSettingsRO settings) throws InvalidSettingsException
loadUIInfoSettings
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected int loadConnectionDestID(NodeSettingsRO settings) throws InvalidSettingsException
loadConnectionDestID
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected int loadConnectionDestPort(NodeSettingsRO settings) throws InvalidSettingsException
loadConnectionDestPort
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected NodeSettingsRO loadInPortsSetting(NodeSettingsRO settings) throws InvalidSettingsException
loadInPortsSetting
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected NodeSettingsRO loadInPortsSettingsEnum(NodeSettingsRO settings) throws InvalidSettingsException
loadInPortsSettingsEnum
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected WorkflowPersistor.WorkflowPortTemplate loadInPortTemplate(NodeSettingsRO settings) throws InvalidSettingsException
loadInPortTemplate
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected String loadInPortsBarUIInfoClassName(NodeSettingsRO settings) throws InvalidSettingsException
loadInPortsBarUIInfoClassName
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected void loadInPortsBarUIInfo(UIInformation uiInfo, NodeSettingsRO settings) throws InvalidSettingsException
loadInPortsBarUIInfo
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected String loadOutPortsBarUIInfoClassName(NodeSettingsRO settings) throws InvalidSettingsException
loadOutPortsBarUIInfoClassName
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected void loadOutPortsBarUIInfo(UIInformation uiInfo, NodeSettingsRO settings) throws InvalidSettingsException
loadOutPortsBarUIInfo
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected NodeSettingsRO loadOutPortsSetting(NodeSettingsRO settings) throws InvalidSettingsException
loadOutPortsSetting
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected NodeSettingsRO loadOutPortsSettingsEnum(NodeSettingsRO settings) throws InvalidSettingsException
loadOutPortsSettingsEnum
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected WorkflowPersistor.WorkflowPortTemplate loadOutPortTemplate(NodeSettingsRO settings) throws InvalidSettingsException
loadOutPortTemplate
in class WorkflowPersistorVersion1xx
InvalidSettingsException
protected boolean loadIfMustWarnOnDataLoadError(File workflowDir)
loadIfMustWarnOnDataLoadError
in class WorkflowPersistorVersion1xx
protected void saveUIInfoClassName(NodeSettingsWO settings, UIInformation info)
protected void saveUIInfoSettings(NodeSettingsWO settings, UIInformation uiInfo)
protected NodeContainerMetaPersistorVersion200 createNodeContainerMetaPersistor(ReferencedFile nodeDirectory)
createNodeContainerMetaPersistor
in class WorkflowPersistorVersion1xx
protected WorkflowPersistorVersion200 createWorkflowPersistor()
createWorkflowPersistor
in class WorkflowPersistorVersion1xx
protected SingleNodeContainerPersistorVersion200 createSingleNodeContainerPersistor()
createSingleNodeContainerPersistor
in class WorkflowPersistorVersion1xx
public String save(WorkflowManager wm, ReferencedFile workflowDirRef, ExecutionMonitor execMon, boolean isSaveData) throws IOException, CanceledExecutionException
IOException
CanceledExecutionException
protected void saveWorkflowName(NodeSettingsWO settings, String name)
protected void saveWorkflowVariables(WorkflowManager wfm, NodeSettingsWO settings)
protected NodeSettingsWO saveSettingsForNodes(NodeSettingsWO settings)
settings
- To save to.
protected NodeSettingsWO saveSettingsForConnections(NodeSettingsWO settings)
settings
- To save to.
protected void saveNodeContainer(NodeSettingsWO settings, ReferencedFile workflowDirRef, NodeContainer container, ExecutionMonitor exec, boolean isSaveData) throws CanceledExecutionException, IOException
CanceledExecutionException
IOException
protected void saveNodeIDSuffix(NodeSettingsWO settings, NodeContainer nc)
protected void saveFileLocation(NodeSettingsWO settings, String location)
protected void saveIsMeta(NodeSettingsWO settings, NodeContainer nc)
protected NodeSettingsWO saveInPortsSetting(NodeSettingsWO settings)
protected NodeSettingsWO saveInPortsEnumSetting(NodeSettingsWO settings)
protected NodeSettingsWO saveInPortSetting(NodeSettingsWO settings, int portIndex)
protected void saveInportsBarUIInfoClassName(NodeSettingsWO settings, UIInformation info)
protected void saveInportsBarUIInfoSettings(NodeSettingsWO settings, UIInformation uiInfo)
protected void saveInPort(NodeSettingsWO settings, WorkflowManager wm, int portIndex)
protected NodeSettingsWO saveOutPortsSetting(NodeSettingsWO settings)
protected NodeSettingsWO saveOutPortsEnumSetting(NodeSettingsWO settings)
protected void saveOutportsBarUIInfoClassName(NodeSettingsWO settings, UIInformation info)
protected void saveOutportsBarUIInfoSettings(NodeSettingsWO settings, UIInformation uiInfo)
protected NodeSettingsWO saveOutPortSetting(NodeSettingsWO settings, int portIndex)
protected void saveOutPort(NodeSettingsWO settings, WorkflowManager wm, int portIndex)
protected void saveConnection(NodeSettingsWO settings, ConnectionContainer connection)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |