Class DeploymentSpec.Step

    • Constructor Summary

      Constructors 
      Constructor Description
      Step()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean concerns​(com.yahoo.config.provision.Environment environment)
      Returns whether this step specifies the given environment.
      abstract 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).
      boolean deploysTo​(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.
      boolean isOrdered()
      Returns whether the nested steps in this, if any, should be performed in declaration order.
      boolean isTest()
      Returns whether this step is a test step.
      java.util.List<DeploymentSpec.Step> steps()
      Returns any steps nested in this.
      java.util.List<DeploymentSpec.DeclaredZone> zones()
      Returns the zones deployed to in this step.
      • Methods inherited from class java.lang.Object

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

      • Step

        public Step()
    • Method Detail

      • concerns

        public final boolean concerns​(com.yahoo.config.provision.Environment environment)
        Returns whether this step specifies the given environment.
      • deploysTo

        public boolean deploysTo​(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.
      • concerns

        public abstract 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.
      • delay

        public java.time.Duration delay()
        The delay introduced by this step (beyond the time it takes to execute the step).
      • isTest

        public boolean isTest()
        Returns whether this step is a test step.
      • isOrdered

        public boolean isOrdered()
        Returns whether the nested steps in this, if any, should be performed in declaration order.