Class CompositeOrchestration
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected java.util.List<Orchestration>
plans
-
Constructor Summary
Constructors Modifier Constructor Description protected
CompositeOrchestration(java.lang.String description, Orchestration... plans)
protected
CompositeOrchestration(java.lang.String description, java.util.List<Orchestration> plans)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
The description of the orchestration describing the steps it containsjava.util.List<Orchestration>
getPlans()
Gets the full list of plans.java.lang.String
getType()
The type of orchestration (Parallel, Serial, Interleaved)
-
-
-
Field Detail
-
plans
protected java.util.List<Orchestration> plans
-
-
Constructor Detail
-
CompositeOrchestration
protected CompositeOrchestration(java.lang.String description, Orchestration... plans)
-
CompositeOrchestration
protected CompositeOrchestration(java.lang.String description, 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 interfaceOrchestration
- Returns:
- the type of plan
-
getDescription
public java.lang.String getDescription()
Description copied from interface:Orchestration
The description of the orchestration describing the steps it contains- Specified by:
getDescription
in interfaceOrchestration
- Returns:
- the description
-
-