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

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

public abstract class CompositePlan
extends java.lang.Object
implements Plan

A CompositePlan holds other sub-plans which are either parallellized (see: ParallelPlan) or serialized (see: SerialPlan).


Field Summary
protected  java.util.List<Plan> plans
           
 
Constructor Summary
protected CompositePlan(java.util.List<Plan> plans)
           
protected CompositePlan(Plan... plans)
           
 
Method Summary
 java.util.List<Plan> getPlans()
          Gets the full list of plans.
 java.lang.String getType()
          The type of plan (Parallel, Serial, Interleved)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.deployment.execution.Plan
getSteps
 

Field Detail

plans

protected java.util.List<Plan> plans
Constructor Detail

CompositePlan

protected CompositePlan(Plan... plans)

CompositePlan

protected CompositePlan(java.util.List<Plan> plans)
Method Detail

getPlans

public java.util.List<Plan> getPlans()
Gets the full list of plans.

Returns:
the full list of plans.

getType

public java.lang.String getType()
Description copied from interface: Plan
The type of plan (Parallel, Serial, Interleved)

Specified by:
getType in interface Plan
Returns:
the type of plan