public class DeployOptions extends Object
| Constructor and Description |
|---|
DeployOptions() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
cleanDeployment() |
String |
path() |
Boolean |
restartSite() |
DeployOptions |
withCleanDeployment(Boolean cleanDeployment)
Specifies whether to perform clean deployment.
|
DeployOptions |
withPath(String path)
Specifies the path for deploy.
|
DeployOptions |
withRestartSite(Boolean restartSite)
Specifies whether to restart site after deployment.
|
public String path()
public DeployOptions withPath(String path)
path - the path for deploypublic Boolean restartSite()
public DeployOptions withRestartSite(Boolean restartSite)
restartSite - whether to restart side after deploymentpublic Boolean cleanDeployment()
public DeployOptions withCleanDeployment(Boolean cleanDeployment)
type=zip and type=war&path=webapps/<appname> 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.cleanDeployment - whether to perform clean deploymentVisit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.