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 |
id
A unique identifier for a deployment 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 java.lang.String |
url
The url of the location where website is
deployed, in the form
protocol://hostname/path . |
Constructor and Description |
---|
Site() |
Modifier and Type | Method and Description |
---|---|
Site |
clone()
Method clone.
|
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.
|
java.lang.String |
getUrl()
Get the url of the location where website is deployed, in
the form
protocol://hostname/path . |
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 |
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
.
project.directory
property)
.private java.util.Map<java.lang.Object,InputLocation> locations
public Site clone()
clone
in class java.lang.Object
public java.lang.String getId()
settings.xml
file, for example.public InputLocation getLocation(java.lang.Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public java.lang.String getName()
public java.lang.String getUrl()
protocol://hostname/path
.
project.directory
property).public void setId(java.lang.String id)
settings.xml
file, for example.id
- public void setLocation(java.lang.Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setName(java.lang.String name)
name
- public void setUrl(java.lang.String url)
protocol://hostname/path
.
project.directory
property).url
-