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
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