DeployOptions Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. DeployOptions
- com.
public class DeployOptions
The options for OneDeploy.
Constructor Summary
Constructor | Description | |
---|---|---|
DeployOptions() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean | cleanDeployment() |
String | path() |
Boolean | restartSite() |
Boolean | trackDeployment() |
Deploy |
withCleanDeployment(Boolean cleanDeployment)
Specifies whether to perform clean deployment. |
Deploy |
withPath(String path)
Specifies the path for deploy. |
Deploy |
withRestartSite(Boolean restartSite)
Specifies whether to restart site after deployment. |
Deploy |
withTrackDeployment(Boolean trackDeployment)
Specifies whether to have deploymentId() to track deployment progress. |
Methods inherited from java.lang.Object
Constructor Details
DeployOptions
public DeployOptions()
Method Details
cleanDeployment
public Boolean cleanDeployment()
Returns:
path
public String path()
Returns:
restartSite
public Boolean restartSite()
Returns:
trackDeployment
public Boolean trackDeployment()
Returns:
withCleanDeployment
public DeployOptions withCleanDeployment(Boolean cleanDeployment)
Specifies whether to perform clean deployment.
By default type=zip
and type=war&path=webapps/
performs clean deployment. All other types of artifacts will be deployed incrementally. The default behavior for any artifact type can be changed by this option. A clean deployment removes the default directory associated with the type of artifact being deployed.
Parameters:
Returns:
withPath
public DeployOptions withPath(String path)
Specifies the path for deploy. Some some deploy type, path is required.
Parameters:
Returns:
withRestartSite
public DeployOptions withRestartSite(Boolean restartSite)
Specifies whether to restart site after deployment.
By default, any OneDeploy call will restart the site. This behavior can be altered by this option.
Parameters:
Returns:
withTrackDeployment
public DeployOptions withTrackDeployment(Boolean trackDeployment)
Specifies whether to have deploymentId() to track deployment progress.
This option only takes effect when used in SupportsOneDeploy#pushDeploy(DeployType, java.io.File, DeployOptions).
Parameters:
Returns:
Applies to
Azure SDK for Java