org.embl.ebi.escience.scuflworkers.java
Interface LocalWorkerWithPorts

All Superinterfaces:
LocalWorker
All Known Implementing Classes:
FlattenList, SliceList, XMLInputSplitter, XMLOutputSplitter

public interface LocalWorkerWithPorts
extends LocalWorker

Interface that defines LocalWorker's that need to generate their own InputPorts and OutputPorts. Examples are XMLInputSplitter and XMLOutputSplitter, which need to generate Input/Output Ports that are XML splittable.

Author:
Stuart Owen
See Also:
XMLInputSplitter, XMLOutputSplitter

Field Summary
 
Fields inherited from interface org.embl.ebi.escience.scuflworkers.java.LocalWorker
BINARY, BINARY_ARRAY, HTML, HTML_ARRAY, PNG_IMAGE, PNG_IMAGE_ARRAY, STRING, STRING_ARRAY, UNTYPED, UNTYPED_ARRAY
 
Method Summary
 java.util.List<InputPort> inputPorts(LocalServiceProcessor processor)
          The InputPorts for this localworker, to be used by LocalServiceProcessor
 java.util.List<OutputPort> outputPorts(LocalServiceProcessor processor)
          The OutputPorts for this localworker, to be used by LocalServiceProcessor
 
Methods inherited from interface org.embl.ebi.escience.scuflworkers.java.LocalWorker
execute, inputNames, inputTypes, outputNames, outputTypes
 

Method Detail

inputPorts

java.util.List<InputPort> inputPorts(LocalServiceProcessor processor)
                                     throws DuplicatePortNameException,
                                            PortCreationException
The InputPorts for this localworker, to be used by LocalServiceProcessor

Throws:
DuplicatePortNameException
PortCreationException

outputPorts

java.util.List<OutputPort> outputPorts(LocalServiceProcessor processor)
                                       throws DuplicatePortNameException,
                                              PortCreationException
The OutputPorts for this localworker, to be used by LocalServiceProcessor

Throws:
DuplicatePortNameException
PortCreationException