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
      java.time.Duration delay()
      The delay introduced by this step (beyond the time it takes to execute the step).
      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) region
      java.time.Duration duration()  
      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

      • duration

        public java.time.Duration duration()
      • 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). Default is zero.
        Overrides:
        delay in class DeploymentSpec.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 class DeploymentSpec.Step
      • toString

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