Package com.yahoo.config.application.api
Class DeploymentSpec.Steps
- java.lang.Object
-
- com.yahoo.config.application.api.DeploymentSpec.Step
-
- com.yahoo.config.application.api.DeploymentSpec.Steps
-
- Direct Known Subclasses:
DeploymentInstanceSpec
,DeploymentSpec.ParallelSteps
- Enclosing class:
- DeploymentSpec
public static class DeploymentSpec.Steps extends DeploymentSpec.Step
A container for several steps, by default in serial order
-
-
Constructor Summary
Constructors Constructor Description Steps(java.util.List<DeploymentSpec.Step> steps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
concerns(com.yahoo.config.provision.Environment environment, java.util.Optional<com.yahoo.config.provision.RegionName> region)
Returns whether this step specifies the given environment, and, optionally, if this step specifies a region, whether this is also the given region.java.time.Duration
delay()
The delay introduced by this step (beyond the time it takes to execute the step).boolean
equals(java.lang.Object o)
int
hashCode()
java.util.List<DeploymentSpec.Step>
steps()
Returns any steps nested in this.java.lang.String
toString()
java.util.List<DeploymentSpec.DeclaredZone>
zones()
Returns the zones deployed to in this step.-
Methods inherited from class com.yahoo.config.application.api.DeploymentSpec.Step
concerns, isOrdered, isTest
-
-
-
-
Constructor Detail
-
Steps
public Steps(java.util.List<DeploymentSpec.Step> steps)
-
-
Method Detail
-
zones
public java.util.List<DeploymentSpec.DeclaredZone> zones()
Description copied from class:DeploymentSpec.Step
Returns the zones deployed to in this step.- Overrides:
zones
in classDeploymentSpec.Step
-
steps
public java.util.List<DeploymentSpec.Step> steps()
Description copied from class:DeploymentSpec.Step
Returns any steps nested in this.- Overrides:
steps
in classDeploymentSpec.Step
-
concerns
public boolean concerns(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 specifies the given environment, and, optionally, if this step specifies a region, whether this is also the given region.- Specified by:
concerns
in classDeploymentSpec.Step
-
delay
public java.time.Duration delay()
Description copied from class:DeploymentSpec.Step
The delay introduced by this step (beyond the time it takes to execute the step).- Overrides:
delay
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
-
-