com.xebialabs.deployit.engine.spi.orchestration
Class CompositeOrchestration

java.lang.Object
  extended by com.xebialabs.deployit.engine.spi.orchestration.CompositeOrchestration
All Implemented Interfaces:
Orchestration
Direct Known Subclasses:
ParallelOrchestration, SerialOrchestration

public abstract class CompositeOrchestration
extends java.lang.Object
implements Orchestration

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


Field Summary
protected  java.util.List<Orchestration> plans
           
 
Constructor Summary
protected CompositeOrchestration(java.util.List<Orchestration> plans)
           
protected CompositeOrchestration(Orchestration... plans)
           
 
Method Summary
 java.util.List<Orchestration> getPlans()
          Gets the full list of plans.
 java.lang.String getType()
          The type of orchestration (Parallel, Serial, Interleaved)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

plans

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

CompositeOrchestration

protected CompositeOrchestration(Orchestration... plans)

CompositeOrchestration

protected CompositeOrchestration(java.util.List<Orchestration> plans)
Method Detail

getPlans

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

Returns:
the full list of plans.

getType

public java.lang.String getType()
Description copied from interface: Orchestration
The type of orchestration (Parallel, Serial, Interleaved)

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