Version: 1.1.1

org.biomoby.client
Class Taverna

java.lang.Object
  extended by org.biomoby.client.Taverna

public abstract class Taverna
extends Object

A utility class that understands how to create workflow definitions for Taverna.

Version:
$Id: Taverna.java,v 1.4 2005/07/19 12:39:59 senger Exp $
Author:
Martin Senger

Field Summary
static String PROP_RAWINPUT
          Property name.
static String PROP_RAWOUTPUT
          Property name.
static String PROP_VERBOSE
          Property name.
 
Constructor Summary
Taverna()
           
 
Method Summary
static String buildWorkflow(ServicesEdge[] edges, String mobyEndpoint, Properties props)
          Creates a workflow definition (an XML string known as 'scufl' or 'xscufl') from the set of graph edges.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_RAWINPUT

public static final String PROP_RAWINPUT
Property name. A boolean value. If set to true the generated workflow definition does not include input data processor (converting basic data types into Moby XML structure). Default is false.

See Also:
Constant Field Values

PROP_RAWOUTPUT

public static final String PROP_RAWOUTPUT
Property name. A boolean value. If set to true the generated workflow definition does not include output data processor (converting basic data types from Moby XML structure). Default is false.

See Also:
Constant Field Values

PROP_VERBOSE

public static final String PROP_VERBOSE
Property name. A boolean value. If set to true workflow creation produces many Taverna messages. Default is false.

See Also:
Constant Field Values
Constructor Detail

Taverna

public Taverna()
Method Detail

buildWorkflow

public static String buildWorkflow(ServicesEdge[] edges,
                                   String mobyEndpoint,
                                   Properties props)
                            throws MobyException
Creates a workflow definition (an XML string known as 'scufl' or 'xscufl') from the set of graph edges. The definition includes also pointer to a BioMoby registry where the services (used by graph edges) are registered.

Parameters:
edges - represent services and their connectors in the created graph; some edges may be of type DataServiceEdge (which is a subclass of ServicesEdge) - those represent a special type of connection between a service and an input or ouput data type; the graph represented by these edges should not have cycles and should not have forking and merging branches
props - are some properties that can influence how the workflow definition will look like; see the property names elsewhere in this API what properties are understood
Returns:
a string with a scufl workflow definition
Throws:
MobyException

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010