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)
InputLocationTrackergetLocation in interface InputLocationTrackerkey - public String getUrl()
protocol://hostname/path.
             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 - Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.