public class Site extends Object implements Serializable, Cloneable, InputLocationTracker
Constructor and Description |
---|
Site() |
Modifier and Type | Method and Description |
---|---|
Site |
clone()
Method clone.
|
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 . |
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 Site()
public String getId()
settings.xml
file, for example.public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public String getUrl()
protocol://hostname/path
.
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
- Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.