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

java.lang.Object
  extended by org.embl.ebi.escience.scuflworkers.ProcessorFactory
      extended by org.embl.ebi.escience.scuflworkers.workflow.WorkflowProcessorFactory
All Implemented Interfaces:
ScuflWorkflowProcessorFactory

public class WorkflowProcessorFactory
extends ProcessorFactory
implements ScuflWorkflowProcessorFactory

Implementation of ProcessorFactory that creates WorkflowProcessor nodes

Author:
Tom Oinn

Constructor Summary
WorkflowProcessorFactory(org.jdom.Element definition)
          Create a new factory configured with the specified literal workflow definition
WorkflowProcessorFactory(java.lang.String definitionURL)
          Create a new factory configured with the specified definition URL
 
Method Summary
 org.jdom.Element getDefinition()
          Return the literal workflow definition
 org.jdom.Element getDefinitionSpec()
          Return the full spec element
 java.lang.String getDefinitionURL()
          Return the definition URL
 java.lang.Class getProcessorClass()
          Return the Class object for processors that would be created by this factory
 java.lang.String getProcessorDescription()
          Return a textual description of the factory
 
Methods inherited from class org.embl.ebi.escience.scuflworkers.ProcessorFactory
createProcessor, getDescription, getName, getXMLFragment, setDescription, setName, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowProcessorFactory

public WorkflowProcessorFactory(java.lang.String definitionURL)
Create a new factory configured with the specified definition URL


WorkflowProcessorFactory

public WorkflowProcessorFactory(org.jdom.Element definition)
Create a new factory configured with the specified literal workflow definition

Method Detail

getDefinitionURL

public java.lang.String getDefinitionURL()
Return the definition URL

Specified by:
getDefinitionURL in interface ScuflWorkflowProcessorFactory

getDefinition

public org.jdom.Element getDefinition()
Return the literal workflow definition

Specified by:
getDefinition in interface ScuflWorkflowProcessorFactory

getDefinitionSpec

public org.jdom.Element getDefinitionSpec()
Return the full spec element


getProcessorDescription

public java.lang.String getProcessorDescription()
Return a textual description of the factory

Specified by:
getProcessorDescription in class ProcessorFactory

getProcessorClass

public java.lang.Class getProcessorClass()
Return the Class object for processors that would be created by this factory

Specified by:
getProcessorClass in class ProcessorFactory