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, 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
equals(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.String
toString()
-
-
-
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 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.
-
-