net.sourceforge.taverna.scuflworkers.bsf
Class BSFTask

java.lang.Object
  extended by net.sourceforge.taverna.scuflworkers.bsf.BSFTask
All Implemented Interfaces:
ProcessorTaskWorker

public class BSFTask
extends java.lang.Object
implements ProcessorTaskWorker

A task to invoke a BSFProcessor Last edited by: $Author: sowen70 $

Author:
mfortner, Stian Soiland

Constructor Summary
BSFTask()
           
BSFTask(Processor p)
           
 
Method Summary
 java.util.Map execute(java.util.Map workflowInputMap, 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

BSFTask

public BSFTask(Processor p)

BSFTask

public BSFTask()
Method Detail

execute

public java.util.Map execute(java.util.Map workflowInputMap,
                             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