public class Site extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
childSiteUrlInheritAppendPath
When children inherit from distribution
management site url, append path or not? Note: While the
type
of this field is
String for
technical reasons, the semantic type is actually
Boolean
Default value is: true
Since: Maven 3.6.1 . |
private InputLocation |
childSiteUrlInheritAppendPathLocation
Field childSiteUrlInheritAppendPathLocation.
|
private java.lang.String |
id
A unique identifier for a deployment location.
|
private InputLocation |
idLocation
Field idLocation.
|
private InputLocation |
location
Field location.
|
private java.util.Map<java.lang.Object,InputLocation> |
locations
Field locations.
|
private java.lang.String |
name
Human readable name of the deployment location.
|
private InputLocation |
nameLocation
Field nameLocation.
|
private java.lang.String |
url
The url of the location where website is
deployed, in the form
protocol://hostname/path . |
private InputLocation |
urlLocation
Field urlLocation.
|
Constructor and Description |
---|
Site() |
Modifier and Type | Method and Description |
---|---|
Site |
clone()
Method clone.
|
java.lang.String |
getChildSiteUrlInheritAppendPath()
Get when children inherit from distribution management site
url, append path or not? Note: While the type
of this field is
String for
technical reasons, the semantic type is actually
Boolean
Default value is: true
Since: Maven 3.6.1. |
java.lang.String |
getId()
Get a unique identifier for a deployment location.
|
InputLocation |
getLocation(java.lang.Object key)
Gets the location of the specified field in the input
source.
|
java.lang.String |
getName()
Get human readable name of the deployment location.
|
private InputLocation |
getOtherLocation(java.lang.Object key) |
java.lang.String |
getUrl()
Get the url of the location where website is deployed, in
the form
protocol://hostname/path . |
boolean |
isChildSiteUrlInheritAppendPath() |
void |
setChildSiteUrlInheritAppendPath(boolean childSiteUrlInheritAppendPath) |
void |
setChildSiteUrlInheritAppendPath(java.lang.String childSiteUrlInheritAppendPath)
Set when children inherit from distribution management site
url, append path or not? Note: While the type
of this field is
String for
technical reasons, the semantic type is actually
Boolean
Default value is: true
Since: Maven 3.6.1. |
void |
setId(java.lang.String id)
Set a unique identifier for a deployment location.
|
void |
setLocation(java.lang.Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setName(java.lang.String name)
Set human readable name of the deployment location.
|
void |
setOtherLocation(java.lang.Object key,
InputLocation location) |
void |
setUrl(java.lang.String url)
Set the url of the location where website is deployed, in
the form
protocol://hostname/path . |
private java.lang.String id
settings.xml
file, for example.private java.lang.String name
private java.lang.String url
protocol://hostname/path
.
child.site.url.inherit.append.path="false"
private java.lang.String childSiteUrlInheritAppendPath
String
for
technical reasons, the semantic type is actually
Boolean
true
private java.util.Map<java.lang.Object,InputLocation> locations
private InputLocation location
private InputLocation idLocation
private InputLocation nameLocation
private InputLocation urlLocation
private InputLocation childSiteUrlInheritAppendPathLocation
public Site clone()
clone
in class java.lang.Object
public java.lang.String getChildSiteUrlInheritAppendPath()
String
for
technical reasons, the semantic type is actually
Boolean
true
public java.lang.String getId()
settings.xml
file, for example.public InputLocation getLocation(java.lang.Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- a key object.public java.lang.String getName()
public void setLocation(java.lang.Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- a key object.location
- a location object.public void setOtherLocation(java.lang.Object key, InputLocation location)
key
- a key object.location
- a location object.private InputLocation getOtherLocation(java.lang.Object key)
key
- a key object.public java.lang.String getUrl()
protocol://hostname/path
.
child.site.url.inherit.append.path="false"
public void setChildSiteUrlInheritAppendPath(java.lang.String childSiteUrlInheritAppendPath)
String
for
technical reasons, the semantic type is actually
Boolean
true
childSiteUrlInheritAppendPath
- a
childSiteUrlInheritAppendPath object.public void setId(java.lang.String id)
settings.xml
file, for example.id
- a id object.public void setName(java.lang.String name)
name
- a name object.public void setUrl(java.lang.String url)
protocol://hostname/path
.
child.site.url.inherit.append.path="false"
url
- a url object.public boolean isChildSiteUrlInheritAppendPath()
public void setChildSiteUrlInheritAppendPath(boolean childSiteUrlInheritAppendPath)