Class DeploymentSpec.DeclaredTest

    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      boolean isTest()
      Returns whether this step is a test step.
      com.yahoo.config.provision.RegionName region()
      Returns the region this test is for.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • DeclaredTest

        public DeclaredTest​(com.yahoo.config.provision.RegionName region)
    • Method Detail

      • concerns

        public boolean concerns​(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 specifies the given environment, and, optionally, region.
        Specified by:
        concerns in class DeploymentSpec.Step
      • region

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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