public class Site extends Object implements Serializable, Cloneable, InputLocationTracker
Constructor and Description |
---|
Site() |
Modifier and Type | Method and Description |
---|---|
Site |
clone()
Method clone.
|
String |
getChildSiteUrlInheritAppendPath()
Get when childs 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. |
String |
getId()
Get a unique identifier for a deployment location.
|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
String |
getName()
Get human readable name of the deployment location.
|
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(String childSiteUrlInheritAppendPath)
Set when childs 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(String id)
Set a unique identifier for a deployment location.
|
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setName(String name)
Set human readable name of the deployment location.
|
void |
setUrl(String url)
Set the url of the location where website is deployed, in
the form
protocol://hostname/path . |
public String getChildSiteUrlInheritAppendPath()
String
for
technical reasons, the semantic type is actually
Boolean
true
public String getId()
settings.xml
file, for example.public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public String getName()
public String getUrl()
protocol://hostname/path
.
child.site.url.inherit.append.path="false"
public void setChildSiteUrlInheritAppendPath(String childSiteUrlInheritAppendPath)
String
for
technical reasons, the semantic type is actually
Boolean
true
childSiteUrlInheritAppendPath
- public void setId(String id)
settings.xml
file, for example.id
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setName(String name)
name
- public void setUrl(String url)
protocol://hostname/path
.
child.site.url.inherit.append.path="false"
url
- public boolean isChildSiteUrlInheritAppendPath()
public void setChildSiteUrlInheritAppendPath(boolean childSiteUrlInheritAppendPath)
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.