|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.node.workflow.PasteWorkflowContentPersistor
public class PasteWorkflowContentPersistor
Persistor that is used to represent, for instance the clipboard content. It contains a list of nodes the connections connecting them. It does not support any of the "load" routines as it is an in-memory persistor. Instead it throws exceptions when any of the load routines are called.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.knime.core.node.workflow.WorkflowPersistor |
---|
WorkflowPersistor.ConnectionContainerTemplate, WorkflowPersistor.LoadResult, WorkflowPersistor.LoadResultEntry, 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, SAVED_WITH_DATA_FILE, WORKFLOW_FILE |
Constructor Summary | |
---|---|
PasteWorkflowContentPersistor(Map<Integer,NodeContainerPersistor> loaderMap,
Set<WorkflowPersistor.ConnectionContainerTemplate> connectionSet)
Create new persistor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
PasteWorkflowContentPersistor(Map<Integer,NodeContainerPersistor> loaderMap, Set<WorkflowPersistor.ConnectionContainerTemplate> connectionSet)
connectionSet
- A copy of connection clones.loaderMap
- The loader map.Method Detail |
---|
public Set<WorkflowPersistor.ConnectionContainerTemplate> getConnectionSet()
getConnectionSet
in interface WorkflowPersistor
public HashMap<Integer,ContainerTable> getGlobalTableRepository()
getGlobalTableRepository
in interface WorkflowPersistor
public WorkflowPersistor.WorkflowPortTemplate[] getInPortTemplates()
getInPortTemplates
in interface WorkflowPersistor
public UIInformation getInPortsBarUIInfo()
getInPortsBarUIInfo
in interface WorkflowPersistor
public String getLoadVersion()
getLoadVersion
in interface WorkflowPersistor
public String getName()
getName
in interface WorkflowPersistor
public Map<Integer,NodeContainerPersistor> getNodeLoaderMap()
getNodeLoaderMap
in interface WorkflowPersistor
public WorkflowPersistor.WorkflowPortTemplate[] getOutPortTemplates()
getOutPortTemplates
in interface WorkflowPersistor
public UIInformation getOutPortsBarUIInfo()
getOutPortsBarUIInfo
in interface WorkflowPersistor
public List<FlowVariable> getWorkflowVariables()
getWorkflowVariables
in interface WorkflowPersistor
public boolean mustWarnOnDataLoadError()
mustWarnOnDataLoadError
in interface WorkflowPersistor
public NodeContainerMetaPersistor getMetaPersistor()
getMetaPersistor
in interface NodeContainerPersistor
public NodeContainer getNodeContainer(WorkflowManager parent, NodeID id)
getNodeContainer
in interface NodeContainerPersistor
public boolean isDirtyAfterLoad()
isDirtyAfterLoad
in interface NodeContainerPersistor
public void loadNodeContainer(Map<Integer,BufferedDataTable> tblRep, ExecutionMonitor exec, WorkflowPersistor.LoadResult loadResult) throws InvalidSettingsException, CanceledExecutionException, IOException
loadNodeContainer
in interface NodeContainerPersistor
InvalidSettingsException
CanceledExecutionException
IOException
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
public boolean needsResetAfterLoad()
needsResetAfterLoad
in interface NodeContainerPersistor
public void preLoadNodeContainer(ReferencedFile nodeFileRef, NodeSettingsRO parentSettings, WorkflowPersistor.LoadResult loadResult) throws InvalidSettingsException, IOException
preLoadNodeContainer
in interface NodeContainerPersistor
InvalidSettingsException
IOException
protected void throwUnsupportedOperationException()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |