Package com.yahoo.config.application.api
Class DeploymentSpec.Step
java.lang.Object
com.yahoo.config.application.api.DeploymentSpec.Step
- Direct Known Subclasses:
DeploymentSpec.DeclaredTest
,DeploymentSpec.DeclaredZone
,DeploymentSpec.Delay
,DeploymentSpec.Steps
- Enclosing class:
- DeploymentSpec
A deployment step
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
concerns
(com.yahoo.config.provision.Environment environment) Returns whether this step specifies the given environment.abstract 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.delay()
The delay introduced by this step (beyond the time it takes to execute the step).hostTTL()
boolean
Returns whether the nested steps in this, if any, should be performed in declaration order.boolean
isTest()
Returns whether this step is a test step.steps()
Returns any steps nested in this.zones()
Returns the zones deployed to in this step.
-
Constructor Details
-
Step
public Step()
-
-
Method Details
-
concerns
public final boolean concerns(com.yahoo.config.provision.Environment environment) Returns whether this step specifies the given environment. -
concerns
public abstract 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. -
zones
Returns the zones deployed to in this step. -
delay
The delay introduced by this step (beyond the time it takes to execute the step). -
steps
Returns any steps nested in this. -
isTest
public boolean isTest()Returns whether this step is a test step. -
isOrdered
public boolean isOrdered()Returns whether the nested steps in this, if any, should be performed in declaration order. -
hostTTL
-