nl.utwente.ewi.hmi.taverna.scuflworkers.abstractprocessor
Class APProcessor

java.lang.Object
  extended by org.embl.ebi.escience.scufl.Processor
      extended by nl.utwente.ewi.hmi.taverna.scuflworkers.abstractprocessor.APProcessor
All Implemented Interfaces:
java.io.Serializable, IProcessor

public class APProcessor
extends Processor

The abstract processor is a processor that contains a set of input ports and output ports and a brief description what it should do If the processor has an alternate, it executes the alternate, otherwise it does nothing

Author:
Ingo Wassink
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.embl.ebi.escience.scufl.IProcessor
ENACTOR
 
Constructor Summary
APProcessor(ScuflModel model, java.lang.String name)
          Constructor of the abstract processor
 
Method Summary
 java.util.Properties getProperties()
          Method for getting the processor properties
 java.lang.String getTaskDescription()
          Method for getting the task description
 void setTaskDescription(java.lang.String taskDescription)
          Method for setting the task description
 
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

APProcessor

public APProcessor(ScuflModel model,
                   java.lang.String name)
            throws ProcessorCreationException,
                   DuplicateProcessorNameException
Constructor of the abstract processor

Parameters:
model - the model to which this processor belongs to
name - the name of the processor
Throws:
ProcessorCreationException - never happens
DuplicateProcessorNameException - if the processor already exists
Method Detail

setTaskDescription

public void setTaskDescription(java.lang.String taskDescription)
Method for setting the task description

Parameters:
taskDescription - the new task description

getTaskDescription

public java.lang.String getTaskDescription()
Method for getting the task description

Returns:
the task description

getProperties

public java.util.Properties getProperties()
Method for getting the processor properties

Specified by:
getProperties in interface IProcessor
Specified by:
getProperties in class Processor
Returns:
the properties