Interface RollbackDeploymentPlanBuilder

All Superinterfaces:
DeploymentPlanBuilder, ServerGroupDeploymentPlanBuilder

public interface RollbackDeploymentPlanBuilder extends ServerGroupDeploymentPlanBuilder
Variant of a DeploymentPlanBuilder that exposes directives that are only applicable when controlling how to limit rollbacks when a DeploymentSetPlan is applied to a server groups.
Author:
Brian Stansberry
  • Method Details

    • allowFailures

      ServerGroupDeploymentPlanBuilder allowFailures(int serverFailures)
      Allows the application of the deployment set to fail on the given number of servers before triggering rollback of the plan.
      Parameters:
      serverFailures - the number of servers. Must be greater than 0
      Returns:
      a builder that can continue building the overall deployment plan
    • allowPercentageFailures

      ServerGroupDeploymentPlanBuilder allowPercentageFailures(int serverFailurePercentage)
      Allows the application of the deployment set to fail on the given percentage of servers in the server group before triggering rollback of the plan.
      Parameters:
      serverFailurePercentage - the percentage of servers. Must be between 1 and 99
      Returns:
      a builder that can continue building the overall deployment plan