Package com.yahoo.config.application.api
Class DeploymentSpec.DeclaredZone
java.lang.Object
com.yahoo.config.application.api.DeploymentSpec.Step
com.yahoo.config.application.api.DeploymentSpec.DeclaredZone
- Enclosing class:
- DeploymentSpec
A deployment step which is to run deployment in a particular zone
-
Constructor Summary
ConstructorsConstructorDescriptionDeclaredZone(com.yahoo.config.provision.Environment environment) DeclaredZone(com.yahoo.config.provision.Environment environment, Optional<com.yahoo.config.provision.RegionName> region, Optional<com.yahoo.config.provision.AthenzService> athenzService, Optional<String> testerNodes, Map<com.yahoo.config.provision.CloudName, com.yahoo.config.provision.CloudAccount> cloudAccounts, Optional<Duration> hostTTL) -
Method Summary
Modifier and TypeMethodDescriptionbooleanconcerns(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.com.yahoo.config.provision.EnvironmentbooleaninthashCode()hostTTL()booleanisTest()Returns whether this step is a test step.Optional<com.yahoo.config.provision.RegionName>region()The region name, or empty if not declaredThe XML <nodes> tag of the tester application for this zone, if specified.toString()zones()Returns the zones deployed to in this step.Methods inherited from class com.yahoo.config.application.api.DeploymentSpec.Step
concerns, delay, isOrdered, steps
-
Constructor Details
-
DeclaredZone
public DeclaredZone(com.yahoo.config.provision.Environment environment) -
DeclaredZone
public DeclaredZone(com.yahoo.config.provision.Environment environment, Optional<com.yahoo.config.provision.RegionName> region, Optional<com.yahoo.config.provision.AthenzService> athenzService, Optional<String> testerNodes, Map<com.yahoo.config.provision.CloudName, com.yahoo.config.provision.CloudAccount> cloudAccounts, Optional<Duration> hostTTL)
-
-
Method Details
-
environment
public com.yahoo.config.provision.Environment environment() -
region
The region name, or empty if not declared -
testerNodes
The XML <nodes> tag of the tester application for this zone, if specified. -
zones
Description copied from class:DeploymentSpec.StepReturns the zones deployed to in this step.- Overrides:
zonesin classDeploymentSpec.Step
-
concerns
public boolean concerns(com.yahoo.config.provision.Environment environment, Optional<com.yahoo.config.provision.RegionName> region) Description copied from class:DeploymentSpec.StepReturns whether this step specifies the given environment, and, optionally, if this step specifies a region, whether this is also the given region.- Specified by:
concernsin classDeploymentSpec.Step
-
isTest
public boolean isTest()Description copied from class:DeploymentSpec.StepReturns whether this step is a test step.- Overrides:
isTestin classDeploymentSpec.Step
-
hashCode
public int hashCode() -
equals
-
toString
-
hostTTL
- Overrides:
hostTTLin classDeploymentSpec.Step
-