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

Quick Search    Search Deep

org.embl.ebi.escience.scuflworkers.java
Interface LocalWorker  view LocalWorker download LocalWorker.java

All Known Implementing Classes:
ExtractImageLinks, FilterStringList, StringSetIntersection, StringSetUnion, WebImageFetcher, WebPageFetcher

public interface LocalWorker

Implemented by classes acting as local services and which don't require the full invocation infrastructure.


Field Summary
static java.lang.String BINARY
          Type string for arbitrary binary data
static java.lang.String BINARY_ARRAY
          Type string for an array of arbitrary binary data blocks
static java.lang.String HTML
          Type string for a document in HTML format
static java.lang.String HTML_ARRAY
          Type string for an array of documents in HTML format
static java.lang.String PNG_IMAGE
          Type string for a PNG image
static java.lang.String PNG_IMAGE_ARRAY
          Type string for an array of PNG images
static java.lang.String STRING
          Type string for a string object
static java.lang.String STRING_ARRAY
          Type string for an array of string objects
static java.lang.String UNTYPED
          Type string for a single item of unknown type
static java.lang.String UNTYPED_ARRAY
          Type string for an array of items of unknown type
 
Method Summary
 java.util.Map execute(java.util.Map inputMap)
          Given a Map of DataThing objects as input, invoke the underlying logic of the task and return a map of DataThing objects as outputs, with the port names acting as keys in the map in both cases.
 java.lang.String[] inputNames()
          Get an array of the names of input ports for this processor
 java.lang.String[] inputTypes()
          Get an array of the string types for the inputs defined by the inputNames() method, these should probably use the constants defined in this interface but may use any valid Baclava data type specifier.
 java.lang.String[] outputNames()
          Names of the output ports
 java.lang.String[] outputTypes()
          Types of the output ports
 

Field Detail

STRING

public static final java.lang.String STRING
Type string for a string object

See Also:
Constant Field Values

STRING_ARRAY

public static final java.lang.String STRING_ARRAY
Type string for an array of string objects

See Also:
Constant Field Values

PNG_IMAGE

public static final java.lang.String PNG_IMAGE
Type string for a PNG image

See Also:
Constant Field Values

PNG_IMAGE_ARRAY

public static final java.lang.String PNG_IMAGE_ARRAY
Type string for an array of PNG images

See Also:
Constant Field Values

HTML

public static final java.lang.String HTML
Type string for a document in HTML format

See Also:
Constant Field Values

HTML_ARRAY

public static final java.lang.String HTML_ARRAY
Type string for an array of documents in HTML format

See Also:
Constant Field Values

BINARY

public static final java.lang.String BINARY
Type string for arbitrary binary data

See Also:
Constant Field Values

BINARY_ARRAY

public static final java.lang.String BINARY_ARRAY
Type string for an array of arbitrary binary data blocks

See Also:
Constant Field Values

UNTYPED

public static final java.lang.String UNTYPED
Type string for a single item of unknown type

See Also:
Constant Field Values

UNTYPED_ARRAY

public static final java.lang.String UNTYPED_ARRAY
Type string for an array of items of unknown type

See Also:
Constant Field Values
Method Detail

execute

public java.util.Map execute(java.util.Map inputMap)
                      throws uk.ac.soton.itinnovation.taverna.enactor.entities.TaskExecutionException
Given a Map of DataThing objects as input, invoke the underlying logic of the task and return a map of DataThing objects as outputs, with the port names acting as keys in the map in both cases.


inputNames

public java.lang.String[] inputNames()
Get an array of the names of input ports for this processor


inputTypes

public java.lang.String[] inputTypes()
Get an array of the string types for the inputs defined by the inputNames() method, these should probably use the constants defined in this interface but may use any valid Baclava data type specifier.


outputNames

public java.lang.String[] outputNames()
Names of the output ports


outputTypes

public java.lang.String[] outputTypes()
Types of the output ports