org.biomoby.client.taverna.plugin
Class BiomobyTask

java.lang.Object
  extended by org.biomoby.client.taverna.plugin.BiomobyTask
All Implemented Interfaces:
ProcessorTaskWorker

public class BiomobyTask
extends java.lang.Object
implements ProcessorTaskWorker


Constructor Summary
BiomobyTask(Processor p)
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BiomobyTask

public BiomobyTask(Processor p)
            throws TaskExecutionException
Throws:
TaskExecutionException
Method Detail

execute

public java.util.Map execute(java.util.Map inputMap,
                             IProcessorTask parentTask)
                      throws TaskExecutionException
Description copied from interface: ProcessorTaskWorker
Given a map of name->DataThing value, invoke the underlying task and return a map of result name -> DataThing value.

Specified by:
execute in interface ProcessorTaskWorker
Throws:
TaskExecutionException - thrown if an error occurs during task invocation