Interface RollbackDeploymentPlanBuilder
- All Superinterfaces:
DeploymentPlanBuilder,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 Summary
Modifier and TypeMethodDescriptionallowFailures(int serverFailures) Allows the application of the deployment set to fail on the given number of servers before triggering rollback of the plan.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.Methods inherited from interface org.jboss.as.controller.client.helpers.domain.DeploymentPlanBuilder
add, add, add, add, add, add, add, build, deploy, getLastAction, redeploy, remove, replace, replace, replace, replace, replace, replace, replace, undeployMethods inherited from interface org.jboss.as.controller.client.helpers.domain.ServerGroupDeploymentPlanBuilder
rollingToServerGroup, rollingToServers, toServerGroup, withRollback
-
Method Details
-
allowFailures
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 than0- Returns:
- a builder that can continue building the overall deployment plan
-
allowPercentageFailures
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 between1and99- Returns:
- a builder that can continue building the overall deployment plan
-