Interface ServerGroupDeploymentPlanBuilder
- All Superinterfaces:
DeploymentPlanBuilder
- All Known Subinterfaces:
RollbackDeploymentPlanBuilder
Variant of a
DeploymentPlanBuilder that exposes
directives that are only applicable when controlling how a DeploymentSetPlan
should be applied to one or more server groups.- Author:
- Brian Stansberry
-
Method Summary
Modifier and TypeMethodDescriptionrollingToServerGroup(String serverGroupName) Indicates that once the deployment actions in theDeploymentSetPlanare applied to the servers in the current server group, they should then be applied to the servers in the given server group.Indicates the deployment actions in theDeploymentSetPlanshould be rolled out to the servers in the server group one server at a time.toServerGroup(String serverGroupName) Indicates that concurrent with applying the deployment actions in theDeploymentSetPlanto the servers in the current server group, they should also be applied to the servers in the given server group.Indicates that alldeploy,undeployorreplaceoperations associated with the deployment set should be rolled back on all servers in the current server group in case of a failure in any of them.
-
Method Details
-
withRollback
RollbackDeploymentPlanBuilder withRollback()Indicates that alldeploy,undeployorreplaceoperations associated with the deployment set should be rolled back on all servers in the current server group in case of a failure in any of them.- Returns:
- a builder that can continue building the overall deployment plan
-
rollingToServers
ServerGroupDeploymentPlanBuilder rollingToServers()Indicates the deployment actions in theDeploymentSetPlanshould be rolled out to the servers in the server group one server at a time. If this directive is not set the actions may be concurrently applied to servers in the server group.- Returns:
- a builder that can continue building the overall deployment plan
-
rollingToServerGroup
Indicates that once the deployment actions in theDeploymentSetPlanare applied to the servers in the current server group, they should then be applied to the servers in the given server group.- Parameters:
serverGroupName- the name of the server group. Cannot benull- Returns:
- a builder that can continue building the overall deployment plan
-
toServerGroup
Indicates that concurrent with applying the deployment actions in theDeploymentSetPlanto the servers in the current server group, they should also be applied to the servers in the given server group.- Parameters:
serverGroupName- the name of the server group. Cannot benull- Returns:
- a builder that can continue building the overall deployment plan
-