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

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

public class SerialPlan
extends CompositePlan

A CompositePlan which executes all sub-plans in serial.


Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.api.deployment.execution.CompositePlan
plans
 
Constructor Summary
SerialPlan(java.util.List<Plan> plans)
           
SerialPlan(Plan... plans)
           
 
Method Summary
 java.util.List<DeploymentStep> getSteps()
          Returns all the steps of all the (serial) 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

SerialPlan

public SerialPlan(Plan... plans)

SerialPlan

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

getSteps

public java.util.List<DeploymentStep> getSteps()
Returns all the steps of all the (serial) sub-plans. The steps are not re-ordered but are just the concatenation of steps of all sub-plans, because each of the sub-plans is serially executed after the previous sub-plan.

Returns:
the steps of all the sub-plans.