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

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

public class InterleavedPlan
extends java.lang.Object
implements Plan

The lowest type of sub-plan, this plan contains DeploymentSteps which can be executed and Delta objects for which this InterleavedPlan has been built. The DeploymentSteps in the InterleavedPlan are sorted by the StepComparator


Method Summary
 java.util.List<Delta> getDeltas()
          Gets the Deltas for which this InterleavedPlan has been compiled
 java.util.List<DeploymentStep> getSteps()
          The steps of the full plan.
 com.google.common.collect.ListMultimap<java.lang.Integer,DeploymentStep> getStepsMap()
           
 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
 

Method Detail

getDeltas

public java.util.List<Delta> getDeltas()
Gets the Deltas for which this InterleavedPlan has been compiled

Returns:
the Delta's

getStepsMap

public com.google.common.collect.ListMultimap<java.lang.Integer,DeploymentStep> getStepsMap()

getSteps

public java.util.List<DeploymentStep> getSteps()
Description copied from interface: Plan
The steps of the full plan.

Specified by:
getSteps in interface Plan
Returns:
the steps.

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