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 Details

    • Delay

      public Delay(Duration duration)
  • Method Details

    • delay

      public 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 class DeploymentSpec.Step
    • concerns

      public boolean concerns(com.yahoo.config.provision.Environment environment, 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 class DeploymentSpec.Step
    • toString

      public String toString()
      Overrides:
      toString in class Object