java.lang.Object
org.embl.ebi.escience.scufl.Processor
org.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.
| 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 |
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
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.
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