Class Site
java.lang.Object
org.apache.maven.model.Site
- All Implemented Interfaces:
Serializable
Contains the information needed for deploying websites.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Get a unique identifier for a deployment location.getName()Get human readable name of the deployment location.getUrl()Get the url of the location where website is deployed, in the formprotocol://hostname/path.voidSet a unique identifier for a deployment location.voidSet human readable name of the deployment location.voidSet the url of the location where website is deployed, in the formprotocol://hostname/path.
-
Constructor Details
-
Site
public Site()
-
-
Method Details
-
getId
Get a unique identifier for a deployment location. This is used to match the site to configuration in thesettings.xmlfile, for example.- Returns:
- String
-
getName
-
getUrl
Get the url of the location where website is deployed, in the formprotocol://hostname/path.- Returns:
- String
-
setId
Set a unique identifier for a deployment location. This is used to match the site to configuration in thesettings.xmlfile, for example.- Parameters:
id- a id object.
-
setName
Set human readable name of the deployment location.- Parameters:
name- a name object.
-
setUrl
Set the url of the location where website is deployed, in the formprotocol://hostname/path.- Parameters:
url- a url object.
-