public interface ServerGroupDeploymentPlanBuilder extends DeploymentPlanBuilder
DeploymentPlanBuilder
that exposes
directives that are only applicable when controlling how a DeploymentSetPlan
should be applied to one or more server groups.Modifier and Type | Method and Description |
---|---|
ServerGroupDeploymentPlanBuilder |
rollingToServerGroup(String serverGroupName)
Indicates that once the deployment actions in the
DeploymentSetPlan
are applied to the servers in the current server group, they should then
be applied to the servers in the given server group. |
ServerGroupDeploymentPlanBuilder |
rollingToServers()
Indicates the deployment actions in the
DeploymentSetPlan should
be rolled out to the servers in the server group one server at a time. |
ServerGroupDeploymentPlanBuilder |
toServerGroup(String serverGroupName)
Indicates that concurrent with applying the deployment actions in the
DeploymentSetPlan
to the servers in the current server group, they should also be applied
to the servers in the given server group. |
RollbackDeploymentPlanBuilder |
withRollback()
Indicates that all
deploy , undeploy or
replace operations associated with the deployment set
should be rolled back on all servers in the current server group
in case of a failure in any of them. |
RollbackDeploymentPlanBuilder withRollback()
deploy
, undeploy
or
replace
operations associated with the deployment set
should be rolled back on all servers in the current server group
in case of a failure in any of them.ServerGroupDeploymentPlanBuilder rollingToServers()
DeploymentSetPlan
should
be rolled out to the servers in the server group one server at a time.
If this directive is not set the actions may be concurrently applied to
servers in the server group.ServerGroupDeploymentPlanBuilder rollingToServerGroup(String serverGroupName)
DeploymentSetPlan
are applied to the servers in the current server group, they should then
be applied to the servers in the given server group.serverGroupName
- the name of the server group. Cannot be null
ServerGroupDeploymentPlanBuilder toServerGroup(String serverGroupName)
DeploymentSetPlan
to the servers in the current server group, they should also be applied
to the servers in the given server group.serverGroupName
- the name of the server group. Cannot be null
Copyright © 2018 JBoss by Red Hat. All rights reserved.