org.embl.ebi.escience.scuflui.workbench
Class NestedWorkflowSwitcher

java.lang.Object
  extended by org.embl.ebi.escience.scuflui.workbench.NestedWorkflowSwitcher

public class NestedWorkflowSwitcher
extends java.lang.Object

Given a ScuflModel it retrieves all the ScuflWorkflowProcessors ie. the nested workflows and can set their URLs to null or back to their original value. Setting the URL to null forces the full XML to be written out when saving instead of just a file reference

Author:
Ian

Constructor Summary
NestedWorkflowSwitcher(ScuflModel model)
           
 
Method Summary
 void makeNestedEmbedded()
          Set the URLs where the nested workflow comes from to null and store the processor and its original URL in the processorURL Map
 void makeNestedReferenced()
          Set the URLs where the nested workflow comes from to its original value
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedWorkflowSwitcher

public NestedWorkflowSwitcher(ScuflModel model)
Method Detail

makeNestedEmbedded

public void makeNestedEmbedded()
Set the URLs where the nested workflow comes from to null and store the processor and its original URL in the processorURL Map


makeNestedReferenced

public void makeNestedReferenced()
Set the URLs where the nested workflow comes from to its original value