|
||||||||||
| 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.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 | |
|---|---|
PasteWorkflowContentPersistor(Map<Integer,NodeContainerPersistor> loaderMap,
Set<WorkflowPersistor.ConnectionContainerTemplate> connectionSet,
Set<WorkflowPersistor.ConnectionContainerTemplate> additionalConnectionSet,
WorkflowAnnotation[] copiedAnnotations,
boolean isUndoableDeleteCommand)
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,
Set<WorkflowPersistor.ConnectionContainerTemplate> additionalConnectionSet,
WorkflowAnnotation[] copiedAnnotations,
boolean isUndoableDeleteCommand)
loaderMap - The loader map.connectionSet - A copy of connection clones.additionalConnectionSet - see getAdditionalConnectionSet()copiedAnnotations - Copied workflow annotations.isUndoableDeleteCommand - If false, annotations will be cloned in
getWorkflowAnnotations().| Method Detail |
|---|
public Set<WorkflowPersistor.ConnectionContainerTemplate> getConnectionSet()
WorkflowPersistor.getAdditionalConnectionSet()).
getConnectionSet in interface WorkflowPersistorpublic Set<WorkflowPersistor.ConnectionContainerTemplate> getAdditionalConnectionSet()
getAdditionalConnectionSet in interface WorkflowPersistorpublic HashMap<Integer,ContainerTable> getGlobalTableRepository()
getGlobalTableRepository in interface WorkflowPersistorpublic WorkflowPersistor.WorkflowPortTemplate[] getInPortTemplates()
getInPortTemplates in interface WorkflowPersistorpublic UIInformation getInPortsBarUIInfo()
getInPortsBarUIInfo in interface WorkflowPersistorpublic WorkflowPersistorVersion200.LoadVersion getLoadVersion()
getLoadVersion in interface WorkflowPersistorpublic String getName()
getName in interface WorkflowPersistorpublic WorkflowCipher getWorkflowCipher()
getWorkflowCipher in interface WorkflowPersistorWorkflowCipher.NULL_CIPHER, never null.public MetaNodeTemplateInformation getTemplateInformation()
getTemplateInformation in interface WorkflowPersistorpublic Map<Integer,NodeContainerPersistor> getNodeLoaderMap()
getNodeLoaderMap in interface WorkflowPersistorpublic WorkflowPersistor.WorkflowPortTemplate[] getOutPortTemplates()
getOutPortTemplates in interface WorkflowPersistorpublic UIInformation getOutPortsBarUIInfo()
getOutPortsBarUIInfo in interface WorkflowPersistorpublic List<FlowVariable> getWorkflowVariables()
getWorkflowVariables in interface WorkflowPersistorpublic List<Credentials> getCredentials()
getCredentials in interface WorkflowPersistorpublic List<WorkflowAnnotation> getWorkflowAnnotations()
getWorkflowAnnotations in interface WorkflowPersistorpublic List<ReferencedFile> getObsoleteNodeDirectories()
getObsoleteNodeDirectories in interface WorkflowPersistorpublic boolean mustWarnOnDataLoadError()
mustWarnOnDataLoadError in interface WorkflowPersistorpublic NodeContainerMetaPersistor getMetaPersistor()
getMetaPersistor in interface NodeContainerPersistor
public NodeContainer getNodeContainer(WorkflowManager parent,
NodeID id)
getNodeContainer in interface NodeContainerPersistorpublic 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 NodeContainerPersistorInvalidSettingsException
CanceledExecutionException
IOExceptionpublic 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 NodeContainerPersistorpublic boolean needsResetAfterLoad()
needsResetAfterLoad in interface NodeContainerPersistor
public void preLoadNodeContainer(WorkflowPersistor parentPersistor,
NodeSettingsRO parentSettings,
WorkflowPersistor.LoadResult loadResult)
throws InvalidSettingsException,
IOException
preLoadNodeContainer in interface NodeContainerPersistorInvalidSettingsException
IOExceptionpublic InputStream decipherInput(InputStream input)
decipherInput in interface WorkflowPersistorinput - The input to decipher.
protected void throwUnsupportedOperationException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||