java.lang.Object
org.embl.ebi.escience.scufl.Processor
org.embl.ebi.escience.scuflworkers.soaplab.SoaplabProcessor
- All Implemented Interfaces:
- java.io.Serializable
- public class SoaplabProcessor
- extends org.embl.ebi.escience.scufl.Processor
- implements java.io.Serializable
A processor based on the Soaplab web service
around the EMBOSS tools. This processor
implementation will contact Soaplab in order
to find the list of extant ports at creation
time. It is therefore important when creating
an instance of this class that the creating
thread should be able to make an HTTP connection
to the supplied endpoint.
| Fields inherited from class org.embl.ebi.escience.scufl.Processor |
|
| Methods inherited from class org.embl.ebi.escience.scufl.Processor |
addPort, getBoundInputPorts, getBoundOutputPorts, getDescription, getInputPorts, getLogLevel, getModel, getName, getOutputPorts, getPorts, getRealLogLevel, locatePort, removePort, setDescription, setLogLevel, toString |
endpoint
private java.net.URL endpoint
SoaplabProcessor
public SoaplabProcessor(org.embl.ebi.escience.scufl.ScuflModel model,
java.lang.String name,
java.lang.String endpoint)
throws org.embl.ebi.escience.scufl.ProcessorCreationException,
org.embl.ebi.escience.scufl.DuplicateProcessorNameException
- Construct a new processor with the given model and
name, delegates to the superclass.
getProperties
public java.util.Properties getProperties()
- Get the properties for this processor for display purposes
setEndpoint
void setEndpoint(java.lang.String specifier)
throws java.net.MalformedURLException,
org.embl.ebi.escience.scufl.ProcessorCreationException
- Set the endpoint for this soaplab processor
getDescriptionText
public void getDescriptionText()
throws org.embl.ebi.escience.scufl.ProcessorCreationException
- Use the endpoint data to set the description field
generatePorts
public void generatePorts()
throws org.embl.ebi.escience.scufl.ProcessorCreationException,
org.embl.ebi.escience.scufl.PortCreationException,
org.embl.ebi.escience.scufl.DuplicatePortNameException
- Use the endpoint data to create new ports and attach them to
the processor. Interogates Soaplab for names of input and
output parameters, and additionally for their syntactic types,
as we might as well keep that information while we have it.
getEndpoint
public java.net.URL getEndpoint()
- Get the URL for this endpoint