org.embl.ebi.escience.scuflworkers.workflow
Class WorkflowScavenger

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.embl.ebi.escience.scuflui.workbench.Scavenger
          extended by org.embl.ebi.escience.scuflui.workbench.URLBasedScavenger
              extended by org.embl.ebi.escience.scuflworkers.workflow.WorkflowScavenger
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class WorkflowScavenger
extends URLBasedScavenger

A Scavenger that knows how to load nested workflow scripts

Author:
Tom Oinn
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
WorkflowScavenger()
           
WorkflowScavenger(org.jdom.Document doc, java.lang.String workflowName)
          Create a new workflow scavenger from a JDOM Document and a name, the name is required because there's no way to infer this from the document, it's a property of the storage medium.
WorkflowScavenger(java.lang.String definitionURL)
          Create a new Workflow scavenger, the single parameter should be resolvable to a location from which the definition could be fetched.
 
Method Summary
 Scavenger fromURL(java.net.URL url)
           
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowScavenger

public WorkflowScavenger()

WorkflowScavenger

public WorkflowScavenger(java.lang.String definitionURL)
                  throws ScavengerCreationException
Create a new Workflow scavenger, the single parameter should be resolvable to a location from which the definition could be fetched.

Throws:
ScavengerCreationException

WorkflowScavenger

public WorkflowScavenger(org.jdom.Document doc,
                         java.lang.String workflowName)
                  throws ScavengerCreationException
Create a new workflow scavenger from a JDOM Document and a name, the name is required because there's no way to infer this from the document, it's a property of the storage medium.

Throws:
ScavengerCreationException
Method Detail

fromURL

public Scavenger fromURL(java.net.URL url)
                  throws ScavengerCreationException
Specified by:
fromURL in class URLBasedScavenger
Throws:
ScavengerCreationException