Package org.apache.maven.model
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
.void
Set a unique identifier for a deployment location.void
Set human readable name of the deployment location.void
Set 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.xml
file, for example.- Returns:
- String
-
getName
Get human readable name of the deployment location.- Returns:
- String
-
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.xml
file, 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.
-