Interface ServerGroupDeploymentPlanBuilder
-
- All Superinterfaces:
DeploymentPlanBuilder
- All Known Subinterfaces:
RollbackDeploymentPlanBuilder
public interface ServerGroupDeploymentPlanBuilder extends DeploymentPlanBuilder
Variant of aDeploymentPlanBuilderthat exposes directives that are only applicable when controlling how aDeploymentSetPlanshould be applied to one or more server groups.- Author:
- Brian Stansberry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerGroupDeploymentPlanBuilderrollingToServerGroup(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.ServerGroupDeploymentPlanBuilderrollingToServers()Indicates the deployment actions in theDeploymentSetPlanshould be rolled out to the servers in the server group one server at a time.ServerGroupDeploymentPlanBuildertoServerGroup(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.RollbackDeploymentPlanBuilderwithRollback()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 Detail
-
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
ServerGroupDeploymentPlanBuilder rollingToServerGroup(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.- Parameters:
serverGroupName- the name of the server group. Cannot benull- Returns:
- a builder that can continue building the overall deployment plan
-
toServerGroup
ServerGroupDeploymentPlanBuilder 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.- Parameters:
serverGroupName- the name of the server group. Cannot benull- Returns:
- a builder that can continue building the overall deployment plan
-
-