Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.embl.ebi.escience.scuflworkers.talisman
Class TalismanProcessor  view TalismanProcessor download TalismanProcessor.java

java.lang.Object
  extended byorg.embl.ebi.escience.scufl.Processor
      extended byorg.embl.ebi.escience.scuflworkers.talisman.TalismanProcessor
All Implemented Interfaces:
java.io.Serializable

public class TalismanProcessor
extends org.embl.ebi.escience.scufl.Processor
implements java.io.Serializable

A processor that makes use of a local installation of the Talisman classes to perform its operations. Construct with a talisman script document describing the inputs and outputs, see the tscript.xml document in the test package for an example.


Field Summary
private  java.util.Map inputs
           
private  java.util.Map outputs
           
private  java.lang.String talismanDefinitionURL
           
private  java.lang.String triggerName
           
private  java.lang.String tscriptURL
           
private  java.net.URL tscriptURLObject
           
 
Fields inherited from class org.embl.ebi.escience.scufl.Processor
 
Constructor Summary
TalismanProcessor(org.embl.ebi.escience.scufl.ScuflModel model, java.lang.String name, java.lang.String tscript)
          Construct a new processor from the supplied Talisman script document.
 
Method Summary
 java.util.Map getInputMappings()
          Return the map of input port name (key) to talisman field locator (value)
 java.util.Map getOutputMappings()
          Return the map of output port name (key) to talisman field locator (value)
 java.util.Properties getProperties()
          Get the properties for this processor for display purposes
 java.lang.String getTalismanDefinitionURL()
          Return the URL that the talisman page definition is found at (string form)
 java.lang.String getTriggerName()
          Return the name of the trigger that gets invoked in this processor invocation
 java.lang.String getTScriptURL()
          Return the URL of the talisman script used to build this processor (string form)
 java.net.URL getTScriptURLObject()
          Return the URL of the talisman script used to build this processor (URL object)
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tscriptURL

private java.lang.String tscriptURL

tscriptURLObject

private java.net.URL tscriptURLObject

inputs

private java.util.Map inputs

outputs

private java.util.Map outputs

triggerName

private java.lang.String triggerName

talismanDefinitionURL

private java.lang.String talismanDefinitionURL
Constructor Detail

TalismanProcessor

public TalismanProcessor(org.embl.ebi.escience.scufl.ScuflModel model,
                         java.lang.String name,
                         java.lang.String tscript)
                  throws org.embl.ebi.escience.scufl.ProcessorCreationException,
                         org.embl.ebi.escience.scufl.DuplicateProcessorNameException
Construct a new processor from the supplied Talisman script document.

Method Detail

getTScriptURL

public java.lang.String getTScriptURL()
Return the URL of the talisman script used to build this processor (string form)


getTScriptURLObject

public java.net.URL getTScriptURLObject()
Return the URL of the talisman script used to build this processor (URL object)


getInputMappings

public java.util.Map getInputMappings()
Return the map of input port name (key) to talisman field locator (value)


getOutputMappings

public java.util.Map getOutputMappings()
Return the map of output port name (key) to talisman field locator (value)


getTriggerName

public java.lang.String getTriggerName()
Return the name of the trigger that gets invoked in this processor invocation


getTalismanDefinitionURL

public java.lang.String getTalismanDefinitionURL()
Return the URL that the talisman page definition is found at (string form)


getProperties

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