public class Site extends Object implements Serializable, Cloneable, InputLocationTracker
| Constructor and Description |
|---|
Site() |
| Modifier and Type | Method and Description |
|---|---|
Site |
clone()
Method clone.
|
String |
getChildInheritAppendPath()
Get when childs inherit from urls, append path or not?.
|
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 |
isChildInheritAppendPath() |
void |
setChildInheritAppendPath(boolean childInheritAppendPath) |
void |
setChildInheritAppendPath(String childInheritAppendPath)
Set when childs inherit from urls, append path or not?.
|
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 getChildInheritAppendPath()
String for
technical reasons, the semantic type is actually
Boolean
truepublic String getId()
settings.xml file, for example.public InputLocation getLocation(Object key)
InputLocationTrackergetLocation in interface InputLocationTrackerkey - public String getName()
public String getUrl()
protocol://hostname/path.
project.directory property), or just parent
value if
child.urls.inherit.append.path="false"public void setChildInheritAppendPath(String childInheritAppendPath)
String for
technical reasons, the semantic type is actually
Boolean
truechildInheritAppendPath - public void setId(String id)
settings.xml file, for example.id - public void setLocation(Object key, InputLocation location)
InputLocationTrackersetLocation in interface InputLocationTrackerkey - location - public void setName(String name)
name - public void setUrl(String url)
protocol://hostname/path.
project.directory property), or just parent
value if
child.urls.inherit.append.path="false"url - public boolean isChildInheritAppendPath()
public void setChildInheritAppendPath(boolean childInheritAppendPath)
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.