org.embl.ebi.escience.scufl.enactor.event
Class NestedWorkflowCreationEvent
java.lang.Object
org.embl.ebi.escience.scufl.enactor.event.WorkflowInstanceEvent
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
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NestedWorkflowCreationEvent
public NestedWorkflowCreationEvent(WorkflowInstance parentWorkflow,
java.util.Map inputs,
WorkflowInstance nestedWorkflowInstance)
- Parameters:
workflow - the parent workflowinputs - the inputMap to the nested workflownestedWorkflowInstance - the nested workflow
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.