org.biomoby.client.taverna.plugin
Class BiomobyObjectProcessor

java.lang.Object
  extended by org.embl.ebi.escience.scufl.Processor
      extended by org.biomoby.client.taverna.plugin.BiomobyObjectProcessor
All Implemented Interfaces:
java.io.Serializable, IProcessor

public class BiomobyObjectProcessor
extends Processor
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.embl.ebi.escience.scufl.IProcessor
ENACTOR
 
Constructor Summary
BiomobyObjectProcessor(ScuflModel model, java.lang.String processorName, org.biomoby.shared.MobyDataType service, java.lang.String mobyEndpoint)
          Construct a new processor with the given model and name, delegates to the superclass.
BiomobyObjectProcessor(ScuflModel model, java.lang.String processorName, java.lang.String authorityName, java.lang.String serviceName, java.lang.String mobyEndpoint)
          Construct a new processor with the given model and name, delegates to the superclass.
BiomobyObjectProcessor(ScuflModel model, java.lang.String processorName, java.lang.String authorityName, java.lang.String serviceName, java.lang.String mobyEndpoint, boolean prompt)
           
 
Method Summary
 void generatePorts()
           
 java.lang.String getAuthorityName()
          Get the authority of this Moby-compliant service
 org.biomoby.shared.Central getCentral()
          TODO - place brief description here.
 void getDescriptionText()
          Set the description field
 java.net.URL getEndpoint()
          Get the URL for this endpoint.
 java.lang.String getMobyEndpoint()
          Get the moby central endpoint used to locate this processor
 org.biomoby.shared.MobyDataType getMobyObject()
           
 java.util.Properties getProperties()
          Get the properties for this processor for display purposes
 java.lang.String getResourceHost()
          Get the host for this service
 java.lang.String getServiceName()
          Get the name of this Moby-compliant Object
 
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, 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

BiomobyObjectProcessor

public BiomobyObjectProcessor(ScuflModel model,
                              java.lang.String processorName,
                              java.lang.String authorityName,
                              java.lang.String serviceName,
                              java.lang.String mobyEndpoint)
                       throws ProcessorCreationException,
                              DuplicateProcessorNameException
Construct a new processor with the given model and name, delegates to the superclass.

Throws:
ProcessorCreationException
DuplicateProcessorNameException

BiomobyObjectProcessor

public BiomobyObjectProcessor(ScuflModel model,
                              java.lang.String processorName,
                              java.lang.String authorityName,
                              java.lang.String serviceName,
                              java.lang.String mobyEndpoint,
                              boolean prompt)
                       throws ProcessorCreationException,
                              DuplicateProcessorNameException
Throws:
ProcessorCreationException
DuplicateProcessorNameException

BiomobyObjectProcessor

public BiomobyObjectProcessor(ScuflModel model,
                              java.lang.String processorName,
                              org.biomoby.shared.MobyDataType service,
                              java.lang.String mobyEndpoint)
                       throws ProcessorCreationException,
                              DuplicateProcessorNameException
Construct a new processor with the given model and name, delegates to the superclass.

Throws:
ProcessorCreationException
DuplicateProcessorNameException
Method Detail

getResourceHost

public java.lang.String getResourceHost()
Get the host for this service

Specified by:
getResourceHost in interface IProcessor
Overrides:
getResourceHost in class Processor

getProperties

public java.util.Properties getProperties()
Get the properties for this processor for display purposes

Specified by:
getProperties in interface IProcessor
Specified by:
getProperties in class Processor
Returns:
a Properties instance containing all processor-specific properties, or optinally null if there are none

getMobyEndpoint

public java.lang.String getMobyEndpoint()
Get the moby central endpoint used to locate this processor


getDescriptionText

public void getDescriptionText()
                        throws ProcessorCreationException
Set the description field

Throws:
ProcessorCreationException

generatePorts

public void generatePorts()
                   throws ProcessorCreationException,
                          PortCreationException,
                          DuplicatePortNameException
Throws:
ProcessorCreationException
PortCreationException
DuplicatePortNameException

getEndpoint

public java.net.URL getEndpoint()
Get the URL for this endpoint. This is the service endpoint NOT the BioMoby registry one!


getServiceName

public java.lang.String getServiceName()
Get the name of this Moby-compliant Object


getAuthorityName

public java.lang.String getAuthorityName()
Get the authority of this Moby-compliant service


getMobyObject

public org.biomoby.shared.MobyDataType getMobyObject()

getCentral

public org.biomoby.shared.Central getCentral()
TODO - place brief description here.

PRE:

POST:

Returns: