Class DeploymentSpec.DeclaredTest

    • Constructor Detail

      • DeclaredTest

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

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

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

        public int hashCode()
        Overrides:
        hashCode in class Object