Class DeploymentSpec.Step

java.lang.Object
com.yahoo.config.application.api.DeploymentSpec.Step
Direct Known Subclasses:
DeploymentSpec.DeclaredTest, DeploymentSpec.DeclaredZone, DeploymentSpec.Delay, DeploymentSpec.Steps
Enclosing class:
DeploymentSpec

public abstract static class DeploymentSpec.Step extends Object
A deployment step
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final 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, Optional<com.yahoo.config.provision.RegionName> region)
    Returns whether this step specifies the given environment, and, optionally, if this step specifies a region, whether this is also the given region.
    The delay introduced by this step (beyond the time it takes to execute the step).
    boolean
    Returns whether the nested steps in this, if any, should be performed in declaration order.
    boolean
    Returns whether this step is a test step.
    Returns any steps nested in this.
    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 Details

    • Step

      public Step()
  • Method Details

    • concerns

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

      public abstract boolean concerns(com.yahoo.config.provision.Environment environment, Optional<com.yahoo.config.provision.RegionName> region)
      Returns whether this step specifies the given environment, and, optionally, if this step specifies a region, whether this is also the given region.
    • zones

      Returns the zones deployed to in this step.
    • delay

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

      public List<DeploymentSpec.Step> steps()
      Returns any steps nested in this.
    • 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.