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

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

public class NestedWorkflowCreationEvent
extends WorkflowInstanceEvent

An event that represents the creation of a new nested workflow. if a nested workflow is part of a series of iterations, then this event is fired for each, together with its corresponding NestedWorkflowCompletionEvent or NestedWorkflowFailureEvent.

Author:
Stuart Owen

Constructor Summary
NestedWorkflowCreationEvent(WorkflowInstance parentWorkflow, java.util.Map inputs, WorkflowInstance nestedWorkflowInstance)
           
 
Method Summary
 java.util.Map getInputs()
           
 WorkflowInstance getNestedWorkflowInstance()
           
 WorkflowInstance getParentWorkflowInstance()
           
 WorkflowInstance getWorkflowInstance()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedWorkflowCreationEvent

public NestedWorkflowCreationEvent(WorkflowInstance parentWorkflow,
                                   java.util.Map inputs,
                                   WorkflowInstance nestedWorkflowInstance)
Parameters:
workflow - the parent workflow
inputs - the inputMap to the nested workflow
nestedWorkflowInstance - the nested workflow
Method Detail

getParentWorkflowInstance

public WorkflowInstance getParentWorkflowInstance()
Returns:
the parent of the nested workflow - mirrors getWorkflowInstance but is added for clarity.

getWorkflowInstance

public WorkflowInstance getWorkflowInstance()
Overrides:
getWorkflowInstance in class WorkflowInstanceEvent
Returns:
the parent of the nested workflow.

getNestedWorkflowInstance

public WorkflowInstance getNestedWorkflowInstance()
Returns:
the nested workflow instance.

getInputs

public java.util.Map getInputs()
Returns:
the inputs presented to the nested workflow.