org.embl.ebi.escience.scuflworkers
Interface ProcessorTaskWorker
- All Known Implementing Classes:
- APIConsumerTask, APTask, BeanshellTask, BiomartTask, BiomobyObjectTask, BiomobyTask, BiomobyTask, BSFTask, CopyOfBiomobyTask, InfernoTask, LocalServiceTask, MobyParseDatatypeTask, NotificationProcessorTask, RDFGeneratorTask, RservTask, RshellTask, SoaplabTask, StringConstantTask, TalismanTask, WorkflowTask, WSDLInvocationTask
public interface ProcessorTaskWorker
An implementation of this class provides the concrete invocation
functionality matching the possibly more abstract definition from the
Processor subclass. For example, the processor definition for a web service
has the responsibility of parsing WSDL, generating ports and fetching any
descriptive information whereas the ProcessorTaskWorker implementation for
this type has the task of actually creating and invoking the network call to
perform a single instance of the operation defined by the Processor.
- Author:
- Tom Oinn
|
Method Summary |
java.util.Map |
execute(java.util.Map inputMap,
IProcessorTask parentTask)
Given a map of name->DataThing value, invoke the underlying task and
return a map of result name -> DataThing value. |
execute
java.util.Map execute(java.util.Map inputMap,
IProcessorTask parentTask)
throws TaskExecutionException
- Given a map of name->DataThing value, invoke the underlying task and
return a map of result name -> DataThing value.
- Throws:
TaskExecutionException - thrown if an error occurs during task invocation