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, withRollback
ServerGroupDeploymentPlanBuilder allowFailures(int serverFailures)
serverFailures
- the number of servers. Must be greater than 0
ServerGroupDeploymentPlanBuilder allowPercentageFailures(int serverFailurePercentage)
serverFailurePercentage
- the percentage of servers. Must be between
1
and 99
Copyright © 2018 JBoss by Red Hat. All rights reserved.