org.embl.ebi.escience.scuflworkers.apiconsumer
Class APIConsumerProcessor

java.lang.Object
  extended by org.embl.ebi.escience.scufl.Processor
      extended by org.embl.ebi.escience.scuflworkers.dependency.DependencyProcessor
          extended by org.embl.ebi.escience.scuflworkers.apiconsumer.APIConsumerProcessor
All Implemented Interfaces:
java.io.Serializable, IProcessor

public class APIConsumerProcessor
extends DependencyProcessor

Processor for the API consumer worker

Author:
Tom Oinn, Stian Soiland
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.embl.ebi.escience.scuflworkers.dependency.DependencyProcessor
DependencyProcessor.ClassLoaderSharing
 
Field Summary
 
Fields inherited from class org.embl.ebi.escience.scuflworkers.dependency.DependencyProcessor
artifactDependencies, localDependencies, repositories
 
Fields inherited from interface org.embl.ebi.escience.scufl.IProcessor
ENACTOR
 
Constructor Summary
APIConsumerProcessor(ScuflModel model, java.lang.String name, APIConsumerDefinition definition)
           
 
Method Summary
 APIConsumerDefinition getDefinition()
           
 java.util.Properties getProperties()
          Return a properties object containing the processor specific properties for this processor type instance.
 
Methods inherited from class org.embl.ebi.escience.scuflworkers.dependency.DependencyProcessor
findClassLoader, getClassLoaderSharing, setClassLoaderSharing
 
Methods inherited from class org.embl.ebi.escience.scufl.Processor
addAlternate, addAnnotationTemplate, addBreakpoint, addPort, defaultAnnotationTemplates, fireModelEvent, getAlternatesArray, getAlternatesList, getAnnotationTemplates, getBackoff, getBoundInputPorts, getBoundOutputPorts, getCritical, getDefaultWorkers, getDescription, getInputPorts, getIterationStrategy, getLogLevel, getMaximumWorkers, getModel, getName, getOutputPorts, getPorts, getRealLogLevel, getResourceHost, getRetries, getRetryDelay, getTimeout, getWorkers, hasBreakpoint, isBoring, isOffline, locatePort, locatePort, removeAlternate, removeAnnotationTemplate, removePort, rmvBreakpoint, setBackoff, setBoring, setCritical, setDescription, setIterationStrategy, setLogLevel, setName, setOffline, setOnline, setRetries, setRetryDelay, setTimeout, setWorkers, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

APIConsumerProcessor

public APIConsumerProcessor(ScuflModel model,
                            java.lang.String name,
                            APIConsumerDefinition definition)
                     throws ProcessorCreationException,
                            DuplicateProcessorNameException
Throws:
ProcessorCreationException
DuplicateProcessorNameException
Method Detail

getProperties

public java.util.Properties getProperties()
Description copied from class: Processor
Return a properties object containing the processor specific properties for this processor type instance. This is used by the user interface code to display additional properties for each processor and should be implemented by the subclasses to display useful information.

Specified by:
getProperties in interface IProcessor
Specified by:
getProperties in class Processor
Returns:
a Properties instance containing all processor-specific properties, or optinally null if there are none

getDefinition

public APIConsumerDefinition getDefinition()
Returns:
the definition