Class DeploymentSpec.DeclaredTest

java.lang.Object
com.yahoo.config.application.api.DeploymentSpec.Step
com.yahoo.config.application.api.DeploymentSpec.DeclaredTest
Enclosing class:
DeploymentSpec

public static class DeploymentSpec.DeclaredTest extends DeploymentSpec.Step
A declared production test
  • Constructor Details

    • DeclaredTest

      public DeclaredTest(com.yahoo.config.provision.RegionName region, Optional<Duration> hostTTL)
  • Method Details

    • 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
    • isTest

      public boolean isTest()
      Description copied from class: DeploymentSpec.Step
      Returns whether this step is a test step.
      Overrides:
      isTest in class DeploymentSpec.Step
    • region

      public com.yahoo.config.provision.RegionName region()
      Returns the region this test is for.
    • hostTTL

      public Optional<Duration> hostTTL()
      Overrides:
      hostTTL in class DeploymentSpec.Step
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object