Class 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Delay

        public Delay​(java.time.Duration duration)
    • 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 class DeploymentSpec.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 class DeploymentSpec.Step
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object