org.embl.ebi.escience.scuflworkers.workflow
Class WorkflowTask

java.lang.Object
  extended by org.embl.ebi.escience.scuflworkers.workflow.WorkflowTask
All Implemented Interfaces:
ProcessorTaskWorker, EnactorWorkflowTask

public class WorkflowTask
extends java.lang.Object
implements ProcessorTaskWorker, EnactorWorkflowTask


Constructor Summary
WorkflowTask(Processor p)
           
 
Method Summary
 java.util.Map execute(java.util.Map inputMap, IProcessorTask parentTask)
          Invoke a nested workflow, the input map being a map of string port names to DataThing objects containing the current values.
 WorkflowInstance getWorkflowInstance()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowTask

public WorkflowTask(Processor p)
Method Detail

getWorkflowInstance

public WorkflowInstance getWorkflowInstance()
Specified by:
getWorkflowInstance in interface EnactorWorkflowTask

execute

public java.util.Map execute(java.util.Map inputMap,
                             IProcessorTask parentTask)
                      throws TaskExecutionException
Invoke a nested workflow, the input map being a map of string port names to DataThing objects containing the current values.

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