|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.workflow.CopySingleNodeContainerPersistor
final class CopySingleNodeContainerPersistor
| Field Summary |
|---|
| Fields inherited from interface org.knime.core.node.workflow.SingleNodeContainerPersistor |
|---|
KEY_FACTORY_NAME, SETTINGS_FILE_NAME |
| Constructor Summary | |
|---|---|
CopySingleNodeContainerPersistor(SingleNodeContainer original,
boolean preserveDeletableFlag,
boolean isUndoableDeleteCommand)
Create copy persistor. |
|
| Method Summary | |
|---|---|
List<FlowObject> |
getFlowObjects()
|
NodeContainerMetaPersistor |
getMetaPersistor()
|
Node |
getNode()
|
NodeContainer |
getNodeContainer(WorkflowManager parent,
NodeID id)
|
SingleNodeContainer.SingleNodeContainerSettings |
getSNCSettings()
|
boolean |
isDirtyAfterLoad()
|
void |
loadNodeContainer(Map<Integer,BufferedDataTable> tblRep,
ExecutionMonitor exec,
WorkflowPersistor.LoadResult loadResult)
|
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 |
needsResetAfterLoad()
|
void |
preLoadNodeContainer(WorkflowPersistor parentPersistor,
NodeSettingsRO parentSettings,
WorkflowPersistor.LoadResult loadResult)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CopySingleNodeContainerPersistor(SingleNodeContainer original,
boolean preserveDeletableFlag,
boolean isUndoableDeleteCommand)
original - To copy frompreserveDeletableFlag - Whether to keep the "is-deletable" flags
in the target.isUndoableDeleteCommand - If to keep the location of the node
directories (important for undo of delete commands, see
WorkflowManager.copy(boolean, WorkflowCopyContent)
for details.)| Method Detail |
|---|
public Node getNode()
getNode in interface SingleNodeContainerPersistorpublic List<FlowObject> getFlowObjects()
getFlowObjects in interface SingleNodeContainerPersistorpublic NodeContainerMetaPersistor getMetaPersistor()
getMetaPersistor in interface NodeContainerPersistor
public NodeContainer getNodeContainer(WorkflowManager parent,
NodeID id)
getNodeContainer in interface NodeContainerPersistor
public void loadNodeContainer(Map<Integer,BufferedDataTable> tblRep,
ExecutionMonitor exec,
WorkflowPersistor.LoadResult loadResult)
loadNodeContainer in interface NodeContainerPersistorpublic boolean needsResetAfterLoad()
needsResetAfterLoad in interface NodeContainerPersistorpublic boolean isDirtyAfterLoad()
isDirtyAfterLoad in interface NodeContainerPersistorpublic 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 SingleNodeContainer.SingleNodeContainerSettings getSNCSettings()
getSNCSettings in interface SingleNodeContainerPersistor
public void preLoadNodeContainer(WorkflowPersistor parentPersistor,
NodeSettingsRO parentSettings,
WorkflowPersistor.LoadResult loadResult)
preLoadNodeContainer in interface NodeContainerPersistor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||