Package com.yahoo.config.application.api
Class DeploymentSpec.ParallelZones
- java.lang.Object
-
- com.yahoo.config.application.api.DeploymentSpec.Step
-
- com.yahoo.config.application.api.DeploymentSpec.ParallelZones
-
- Enclosing class:
- DeploymentSpec
public static class DeploymentSpec.ParallelZones extends DeploymentSpec.Step
A deployment step which is to run multiple steps (zones or instances) in parallel
-
-
Constructor Summary
Constructors Constructor Description ParallelZones(java.util.List<DeploymentSpec.Step> steps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
deploysTo(com.yahoo.config.provision.Environment environment, java.util.Optional<com.yahoo.config.provision.RegionName> region)
Returns whether this step deploys to the given environment, and (if specified) regionboolean
equals(java.lang.Object o)
int
hashCode()
java.util.List<DeploymentSpec.Step>
steps()
Returns all the steps nested in thisjava.lang.String
toString()
java.util.List<DeploymentSpec.DeclaredZone>
zones()
Returns the steps inside this which are zones-
Methods inherited from class com.yahoo.config.application.api.DeploymentSpec.Step
delay, deploysTo
-
-
-
-
Constructor Detail
-
ParallelZones
public ParallelZones(java.util.List<DeploymentSpec.Step> steps)
-
-
Method Detail
-
zones
public java.util.List<DeploymentSpec.DeclaredZone> zones()
Returns the steps inside this which are zones- Overrides:
zones
in classDeploymentSpec.Step
-
steps
public java.util.List<DeploymentSpec.Step> steps()
Returns all the steps nested in this- Overrides:
steps
in classDeploymentSpec.Step
-
deploysTo
public boolean deploysTo(com.yahoo.config.provision.Environment environment, java.util.Optional<com.yahoo.config.provision.RegionName> region)
Description copied from class:DeploymentSpec.Step
Returns whether this step deploys to the given environment, and (if specified) region- Specified by:
deploysTo
in classDeploymentSpec.Step
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-