Interface RollbackDeploymentPlanBuilder
-
- All Superinterfaces:
DeploymentPlanBuilder
,ServerGroupDeploymentPlanBuilder
public interface RollbackDeploymentPlanBuilder extends ServerGroupDeploymentPlanBuilder
Variant of aDeploymentPlanBuilder
that exposes directives that are only applicable when controlling how to limitrollbacks
when aDeploymentSetPlan
is applied to a server groups.- Author:
- Brian Stansberry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
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, undeploy
-
Methods inherited from interface org.jboss.as.controller.client.helpers.domain.ServerGroupDeploymentPlanBuilder
rollingToServerGroup, rollingToServers, toServerGroup, withRollback
-
-
-
-
Method Detail
-
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 than0
- 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 between1
and99
- Returns:
- a builder that can continue building the overall deployment plan
-
-