public class UndeploymentOptions extends Object implements Serializable
Constructor and Description |
---|
UndeploymentOptions() |
Modifier and Type | Method and Description |
---|---|
DeploymentLockStrategy |
getDeploymentLockStrategy()
Return the deployment lock strategy, the default is
DeploymentLockStrategyDefault |
boolean |
isDestroyStatements()
Returns indicator whether undeploy will destroy any associated statements (true by default).
|
void |
setDeploymentLockStrategy(DeploymentLockStrategy deploymentLockStrategy)
Sets the deployment lock strategy, the default is
DeploymentLockStrategyDefault |
void |
setDestroyStatements(boolean destroyStatements)
Sets indicator whether undeploy will destroy any associated statements.
|
public boolean isDestroyStatements()
public void setDestroyStatements(boolean destroyStatements)
destroyStatements
- flag indicating whether undeploy also destroys associated statementspublic DeploymentLockStrategy getDeploymentLockStrategy()
DeploymentLockStrategyDefault
public void setDeploymentLockStrategy(DeploymentLockStrategy deploymentLockStrategy)
DeploymentLockStrategyDefault
deploymentLockStrategy
- lock strategy