com.xebialabs.deployit.plugin.api.deployment.execution
Class ParallelPlan

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.deployment.execution.CompositePlan
      extended by com.xebialabs.deployit.plugin.api.deployment.execution.ParallelPlan
All Implemented Interfaces:
Plan

public class ParallelPlan
extends CompositePlan

A CompositePlan that executed steps in parallel.


Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.api.deployment.execution.CompositePlan
plans
 
Constructor Summary
ParallelPlan(java.util.List<Plan> plans)
           
ParallelPlan(Plan... plans)
           
 
Method Summary
 java.util.List<DeploymentStep> getSteps()
          Returns the steps of all of the (parallel) sub-plans.
 
Methods inherited from class com.xebialabs.deployit.plugin.api.deployment.execution.CompositePlan
getPlans, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParallelPlan

public ParallelPlan(Plan... plans)

ParallelPlan

public ParallelPlan(java.util.List<Plan> plans)
Method Detail

getSteps

public java.util.List<DeploymentStep> getSteps()
Returns the steps of all of the (parallel) sub-plans. The steps of all these plans are sorted together, as there is no happens-before order between plans. Sorting is done using the StepComparator.

Returns:
The sorted steps of all the sub-plans.