public class UrlDeploymentOption extends Object implements DeploymentOption, UrlReference
| Constructor and Description |
|---|
UrlDeploymentOption(String url,
String type)
Constructor.
|
UrlDeploymentOption(UrlReference url)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
UrlDeploymentOption |
contextRoot(String _contextRoot) |
String |
getContextRoot() |
String |
getName() |
String |
getType() |
String |
getURL()
Getter.
|
UrlReference |
getUrlReference() |
protected UrlDeploymentOption |
itself() |
UrlDeploymentOption |
name(String _name)
Sets the deployment name (usually the basename of the given artifact).
|
public UrlDeploymentOption(String url, String type)
url - provision url (cannot be null or empty)type - deployment typeIllegalArgumentException - - If url is null or emptypublic UrlDeploymentOption(UrlReference url)
url - provision url (cannot be null)IllegalArgumentException - - If url is nullpublic UrlReference getUrlReference()
public UrlDeploymentOption name(String _name)
_name - deploymenet namepublic String getName()
public String getType()
public UrlDeploymentOption contextRoot(String _contextRoot)
public String getContextRoot()
protected UrlDeploymentOption itself()
public String getURL()
UrlReferencegetURL in interface UrlReferenceCopyright © 2006–2020 OPS4J - Open Participation Software for Java. All rights reserved.