Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.embl.ebi.escience.scuflui.workbench
Class WorkflowProcessorFactory  view WorkflowProcessorFactory download WorkflowProcessorFactory.java

java.lang.Object
  extended byorg.embl.ebi.escience.scuflui.workbench.WorkflowProcessorFactory
All Implemented Interfaces:
ProcessorFactory

public class WorkflowProcessorFactory
extends java.lang.Object
implements ProcessorFactory

Implementation of ProcessorFactory that creates WorkflowProcessor nodes


Field Summary
private  java.lang.String definitionURL
           
 
Constructor Summary
WorkflowProcessorFactory(java.lang.String definitionURL)
          Create a new factory configured with the specified definition URL
 
Method Summary
 void createProcessor(java.lang.String name, org.embl.ebi.escience.scufl.ScuflModel model)
          Build a new WorkflowProcessor and add it to the model
 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
 java.lang.String toString()
          Return the leaf of the path as the factory name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

definitionURL

private java.lang.String definitionURL
Constructor Detail

WorkflowProcessorFactory

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

Method Detail

getDefinitionURL

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


toString

public java.lang.String toString()
Return the leaf of the path as the factory name


createProcessor

public void createProcessor(java.lang.String name,
                            org.embl.ebi.escience.scufl.ScuflModel model)
                     throws org.embl.ebi.escience.scufl.ProcessorCreationException,
                            org.embl.ebi.escience.scufl.DuplicateProcessorNameException
Build a new WorkflowProcessor and add it to the model

Specified by:
createProcessor in interface ProcessorFactory

getProcessorDescription

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

Specified by:
getProcessorDescription in interface ProcessorFactory

getProcessorClass

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

Specified by:
getProcessorClass in interface ProcessorFactory