Interface InitialDeploymentSetBuilder
-
- All Superinterfaces:
DeploymentPlanBuilder
- All Known Subinterfaces:
InitialDeploymentPlanBuilder
- All Known Implementing Classes:
InitialDeploymentSetBuilderImpl
public interface InitialDeploymentSetBuilder extends DeploymentPlanBuilder
Variant of aDeploymentPlanBuilderthat is meant to be used at the initial stages of the building process, when directives that pertain to the entire plan can be applied.- Author:
- Brian Stansberry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InitialDeploymentSetBuilderwithGracefulShutdown(long timeout, TimeUnit timeUnit)Indicates actions specified subsequent to this call should be organized around a full graceful server shutdown and restart.InitialDeploymentSetBuilderwithoutSingleServerRollback()Indicates that on a given server alldeploy,undeployorreplaceoperations associated with the deployment set should not be rolled back in case of a failure in any of them.InitialDeploymentSetBuilderwithShutdown()Indicates actions specified subsequent to this call should be organized around a full server restart.
-
-
-
Method Detail
-
withoutSingleServerRollback
InitialDeploymentSetBuilder withoutSingleServerRollback()
Indicates that on a given server alldeploy,undeployorreplaceoperations associated with the deployment set should not be rolled back in case of a failure in any of them.- Returns:
- a builder that can continue building the overall deployment plan
-
withGracefulShutdown
InitialDeploymentSetBuilder withGracefulShutdown(long timeout, TimeUnit timeUnit)
Indicates actions specified subsequent to this call should be organized around a full graceful server shutdown and restart. The server will attempt to shut itself down gracefully, waiting for in-process work to complete before shutting down. See the full JBoss AS documentation for details on what "waiting for in-process work to complete" means.For any
deployorreplaceactions, the new content will not be deployed until the server is restarted. For anyundeployorreplaceactions, the old content will be undeployed as part of normal server shutdown processing.- Parameters:
timeout- maximum amount of time the graceful shutdown should wait for existing work to complete before completing the shutdowntimeUnit-TimeUnitin whichtimeoutis expressed- Returns:
- a builder that can continue building the overall deployment plan
-
withShutdown
InitialDeploymentSetBuilder withShutdown()
Indicates actions specified subsequent to this call should be organized around a full server restart. For anydeployorreplaceactions, the new content will not be deployed until the server is restarted. For anyundeployorreplaceactions, the old content will be undeployed as part of normal server shutdown processing.- Returns:
- a builder that can continue building the overall deployment plan
-
-