Package com.yahoo.config.application.api
Class DeploymentSpec.Delay
- java.lang.Object
-
- com.yahoo.config.application.api.DeploymentSpec.Step
-
- com.yahoo.config.application.api.DeploymentSpec.Delay
-
- Enclosing class:
- DeploymentSpec
public static class DeploymentSpec.Delay extends DeploymentSpec.Step
A deployment step which is to wait for some time before progressing to the next step
-
-
Constructor Summary
Constructors Constructor Description Delay(java.time.Duration duration)
-
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, region.java.time.Duration
delay()
The delay introduced by this step (beyond the time it takes to execute the step).java.lang.String
toString()
-
-
-
Method Detail
-
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
-
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, region.- Specified by:
concerns
in classDeploymentSpec.Step
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-