org.embl.ebi.escience.scuflworkers.notification
Class NotificationProcessorTask

java.lang.Object
  extended by org.embl.ebi.escience.scuflworkers.notification.NotificationProcessorTask
All Implemented Interfaces:
ProcessorTaskWorker

public class NotificationProcessorTask
extends java.lang.Object
implements ProcessorTaskWorker

Author:
kahs, Justin Ferris

Constructor Summary
NotificationProcessorTask()
           
NotificationProcessorTask(Processor p)
          Creates a new instance of NotificationProcessorTaskImpl The processor used here is a dummy processor just to plug in to taverna for gui purposes.
 
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.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationProcessorTask

public NotificationProcessorTask(Processor p)
Creates a new instance of NotificationProcessorTaskImpl The processor used here is a dummy processor just to plug in to taverna for gui purposes.


NotificationProcessorTask

public NotificationProcessorTask()
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

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception