Interface ServerGroupDeploymentPlanBuilder

All Superinterfaces:
DeploymentPlanBuilder
All Known Subinterfaces:
RollbackDeploymentPlanBuilder

public interface ServerGroupDeploymentPlanBuilder extends DeploymentPlanBuilder
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 Details

    • withRollback

      Indicates that all deploy, undeploy or replace operations 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

      Indicates the deployment actions in the DeploymentSetPlan should 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 the DeploymentSetPlan are 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 be null
      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 the DeploymentSetPlan to 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 be null
      Returns:
      a builder that can continue building the overall deployment plan