|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.embl.ebi.escience.scufl.Processor
org.embl.ebi.escience.scuflworkers.soaplab.SoaplabProcessor
public class SoaplabProcessor
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.
Field Summary |
---|
Fields inherited from interface org.embl.ebi.escience.scufl.IProcessor |
---|
ENACTOR |
Constructor Summary | |
---|---|
SoaplabProcessor(ScuflModel model,
java.lang.String name,
java.lang.String endpoint)
Construct a new processor with the given model and name, delegates to the superclass. |
Method Summary | |
---|---|
void |
generatePorts()
Use the endpoint data to create new ports and attach them to the processor. |
java.lang.String |
getAppName()
|
java.lang.String |
getCategory()
|
void |
getDescriptionText()
Use the endpoint data to set the description field |
java.net.URL |
getEndpoint()
Get the URL for this endpoint |
java.lang.String |
getHTMLSummary(java.util.List<HTMLSummarisableProcessor> processors,
java.util.Map<java.lang.String,Processor> names)
Generates the html tables for a list of processors, creating a table grouped by resource host. |
int |
getMaximumWorkers()
Return the maximum number of task implementations that should be launched for this processor. |
double |
getPollingBackoff()
|
int |
getPollingInterval()
|
int |
getPollingIntervalMax()
|
java.util.Properties |
getProperties()
Get the properties for this processor for display purposes |
java.lang.String |
getResourceHost()
If meaningful, obtain the host that the resource is based in. |
java.lang.String |
getServicePath()
|
int |
htmlTablePlacement()
int indicating the placement for this type of processor in the order of tables displayed |
boolean |
isPollingDefined()
|
void |
setPolling(int interval,
double backoff,
int maxInterval)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SoaplabProcessor(ScuflModel model, java.lang.String name, java.lang.String endpoint) throws ProcessorCreationException, DuplicateProcessorNameException
ProcessorCreationException
DuplicateProcessorNameException
Method Detail |
---|
public void setPolling(int interval, double backoff, int maxInterval)
public boolean isPollingDefined()
public int getPollingInterval()
public double getPollingBackoff()
public int getPollingIntervalMax()
public int getMaximumWorkers()
Processor
getMaximumWorkers
in interface IProcessor
getMaximumWorkers
in class Processor
public java.lang.String getResourceHost()
Processor
getResourceHost
in interface IProcessor
getResourceHost
in class Processor
public java.lang.String getCategory()
public java.lang.String getServicePath()
public java.lang.String getAppName()
public java.util.Properties getProperties()
getProperties
in interface IProcessor
getProperties
in class Processor
public void getDescriptionText() throws ProcessorCreationException
ProcessorCreationException
public void generatePorts() throws ProcessorCreationException, PortCreationException, DuplicatePortNameException
ProcessorCreationException
PortCreationException
DuplicatePortNameException
public java.net.URL getEndpoint()
public java.lang.String getHTMLSummary(java.util.List<HTMLSummarisableProcessor> processors, java.util.Map<java.lang.String,Processor> names)
HTMLSummarisableProcessor
getHTMLSummary
in interface HTMLSummarisableProcessor
public int htmlTablePlacement()
HTMLSummarisableProcessor
htmlTablePlacement
in interface HTMLSummarisableProcessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |