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 Summary

    Constructors
    Constructor
    Description
    DeclaredTest(com.yahoo.config.provision.RegionName region)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    boolean
     
    int
     
    boolean
    Returns whether this step is a test step.
    com.yahoo.config.provision.RegionName
    Returns the region this test is for.
     

    Methods inherited from class com.yahoo.config.application.api.DeploymentSpec.Step

    concerns, delay, isOrdered, steps, zones

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DeclaredTest

      public DeclaredTest(com.yahoo.config.provision.RegionName region)
  • 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.
    • 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