public interface RollbackDeploymentPlanBuilder extends ServerGroupDeploymentPlanBuilder
DeploymentPlanBuilder that exposes
directives that are only applicable when controlling how to limit
rollbacks when a
DeploymentSetPlan is applied to a server groups.| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
rollingToServerGroup, rollingToServers, toServerGroup, withRollbackServerGroupDeploymentPlanBuilder allowFailures(int serverFailures)
serverFailures - the number of servers. Must be greater than 0ServerGroupDeploymentPlanBuilder allowPercentageFailures(int serverFailurePercentage)
serverFailurePercentage - the percentage of servers. Must be between
1 and 99Copyright © 2018 JBoss by Red Hat. All rights reserved.