public interface InitialDeploymentPlanBuilder extends InitialDeploymentSetBuilder
DeploymentPlanBuilder
that is meant
to be used at the initial stages of the building process, when directives that
pertain to the entire plan can be applied.Modifier and Type | Method and Description |
---|---|
InitialDeploymentSetBuilder |
withGracefulShutdown(long timeout,
TimeUnit timeUnit)
Indicates actions specified subsequent to this call should be organized
around a full graceful server shutdown and restart.
|
InitialDeploymentSetBuilder |
withoutSingleServerRollback()
Indicates that on a given server all
deploy , undeploy or
replace operations associated with the deployment set
should not be rolled back in case of a failure in any of them. |
InitialDeploymentSetBuilder |
withRollbackAcrossGroups()
Indicates that the actions in the plan need to be rolled back across any single
given server group, then it should be rolled back across all server groups.
|
InitialDeploymentSetBuilder |
withShutdown()
Indicates actions specified subsequent to this call should be organized
around a full server restart.
|
InitialDeploymentSetBuilder |
withSingleServerRollback()
Deprecated.
single server rollback is the default behavior for a deployment plan and doesn't need to be enabled
|
InitialDeploymentSetBuilder withRollbackAcrossGroups()
@Deprecated InitialDeploymentSetBuilder withSingleServerRollback()
deploy
, undeploy
or
replace
operations associated with the deployment set
should be rolled back in case of a failure in any of them.
Note: This directive does not span across servers, i.e.
a rollback on one server will not trigger rollback on others. Use
ServerGroupDeploymentPlanBuilder.withRollback()
to trigger
rollback across servers.
withSingleServerRollback
in interface InitialDeploymentSetBuilder
InitialDeploymentSetBuilder withoutSingleServerRollback()
deploy
, undeploy
or
replace
operations associated with the deployment set
should not be rolled back in case of a failure in any of them.withoutSingleServerRollback
in interface InitialDeploymentSetBuilder
InitialDeploymentSetBuilder withGracefulShutdown(long timeout, TimeUnit timeUnit)
For any deploy
or replace
actions, the new content will not be deployed until the server is restarted.
For any undeploy
or replace
actions, the old content
will be undeployed as part of normal server shutdown processing.
withGracefulShutdown
in interface InitialDeploymentSetBuilder
timeout
- maximum amount of time the graceful shutdown should wait for
existing work to complete before completing the shutdowntimeUnit
- TimeUnit
in which timeout
is expressedInitialDeploymentSetBuilder withShutdown()
deploy
or replace
actions, the new content will not be deployed until the server is restarted.
For any undeploy
or replace
actions, the old content
will be undeployed as part of normal server shutdown processing.withShutdown
in interface InitialDeploymentSetBuilder
Copyright © 2018 JBoss by Red Hat. All rights reserved.