org.embl.ebi.escience.scufl.enactor.event
Class NestedWorkflowCompletionEvent

java.lang.Object
  extended by org.embl.ebi.escience.scufl.enactor.event.WorkflowInstanceEvent
      extended by org.embl.ebi.escience.scufl.enactor.event.NestedWorkflowCompletionEvent

public class NestedWorkflowCompletionEvent
extends WorkflowInstanceEvent

An event fired when a WorkflowTask has finished its execution. IMPORTANT: If a listener is using this event to inspect the contained nested workflow instance, its imperitive this gets used within the same thread, since it is soon destroyed once the event is consumed.

Author:
Stuart Owen

Constructor Summary
NestedWorkflowCompletionEvent(boolean isIterating, java.util.Map inputs, java.util.Map outputs, Processor proc, WorkflowInstance workflow, WorkflowInstance nestedWorkflow)
           
 
Method Summary
 java.util.Map getInputMap()
           
 WorkflowInstance getNestedWorkflowInstance()
           
 java.util.Map getOutputMap()
           
 Processor getProcessor()
           
 boolean isIterating()
           
 java.lang.String toString()
          Print a summary of the event details
 
Methods inherited from class org.embl.ebi.escience.scufl.enactor.event.WorkflowInstanceEvent
getWorkflowInstance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NestedWorkflowCompletionEvent

public NestedWorkflowCompletionEvent(boolean isIterating,
                                     java.util.Map inputs,
                                     java.util.Map outputs,
                                     Processor proc,
                                     WorkflowInstance workflow,
                                     WorkflowInstance nestedWorkflow)
Method Detail

isIterating

public boolean isIterating()

getInputMap

public java.util.Map getInputMap()

getOutputMap

public java.util.Map getOutputMap()

getProcessor

public Processor getProcessor()

toString

public java.lang.String toString()
Print a summary of the event details

Overrides:
toString in class java.lang.Object

getNestedWorkflowInstance

public WorkflowInstance getNestedWorkflowInstance()