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
A declared production test
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
hashCode()
boolean
isTest()
Returns whether this step is a test step.com.yahoo.config.provision.RegionName
region()
Returns the region this test is for.toString()
-
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 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
-
hashCode
public int hashCode() -
toString
-