public class DeploymentPlanImpl extends Object implements DeploymentPlan
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
List<DeploymentActionImpl> |
getDeploymentActionImpls()
Same as
getDeploymentActions() except the type of the list
contents reflects the actual implementation class. |
List<DeploymentAction> |
getDeploymentActions()
Gets the list of deployment actions that are part of the deployment plan,
in the order in which they were added to the plan.
|
long |
getGracefulShutdownTimeout()
Gets the maximum period, in ms, the deployment plan is configured to
wait for potentially long-running in-process work ito complete before
shutdown proceeds.
|
UUID |
getId()
Gets the unique id of the plan.
|
boolean |
isGlobalRollback()
Gets whether all
deploy , undeploy , replace
or remove operations associated with the deployment plan
should be rolled back in case of a failure in any of them. |
boolean |
isGracefulShutdown()
Gets whether the deployment plan is organized around
a graceful shutdown of the server, where potentially long-running in-process
work is given time to complete before shutdown proceeds.
|
boolean |
isShutdown()
Gets whether the deployment plan is organized around a shutdown of the server.
|
public UUID getId()
DeploymentPlan
getId
in interface DeploymentPlan
null
public List<DeploymentAction> getDeploymentActions()
DeploymentPlan
getDeploymentActions
in interface DeploymentPlan
null
public boolean isGlobalRollback()
DeploymentPlan
deploy
, undeploy
, replace
or remove
operations associated with the deployment plan
should be rolled back in case of a failure in any of them.isGlobalRollback
in interface DeploymentPlan
true
if all operations should be rolled back if
any of them failpublic long getGracefulShutdownTimeout()
DeploymentPlan
getGracefulShutdownTimeout
in interface DeploymentPlan
-1
if DeploymentPlan.isGracefulShutdown()
would return true
public boolean isGracefulShutdown()
DeploymentPlan
isGracefulShutdown
in interface DeploymentPlan
true
if the plan will be organized around a graceful shutdown,
false
otherwisepublic boolean isShutdown()
DeploymentPlan
isShutdown
in interface DeploymentPlan
true
if the plan will be organized around a shutdown,
false
otherwisepublic List<DeploymentActionImpl> getDeploymentActionImpls()
getDeploymentActions()
except the type of the list
contents reflects the actual implementation class.null
Copyright © 2017 JBoss by Red Hat. All rights reserved.