Package com.yahoo.config.application.api
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
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()
-
-
-
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 classDeploymentSpec.Step
-
isTest
public boolean isTest()
Description copied from class:DeploymentSpec.Step
Returns whether this step is a test step.- Overrides:
isTest
in classDeploymentSpec.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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-