org.apache.maven.model
Class Site

java.lang.Object
  extended by org.apache.maven.model.Site
All Implemented Interfaces:
java.io.Serializable

public class Site
extends java.lang.Object
implements java.io.Serializable

Contains the information needed for deploying websites.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Site()
           
 
Method Summary
 java.lang.String getId()
          Get A unique identifier for a deployment location.
 java.lang.String getModelEncoding()
           
 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 setModelEncoding(java.lang.String modelEncoding)
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Site

public Site()
Method Detail

getId

public java.lang.String getId()
Get A unique identifier for a deployment location. This is used to match the site to configuration in the settings.xml file, for example.


getName

public java.lang.String getName()
Get Human readable name of the deployment location.


getUrl

public java.lang.String getUrl()
Get The url of the location where website is deployed, in the form protocol://hostname/path.


setId

public void setId(java.lang.String id)
Set A unique identifier for a deployment location. This is used to match the site to configuration in the settings.xml file, for example.

Parameters:
id -

setName

public void setName(java.lang.String name)
Set Human readable name of the deployment location.

Parameters:
name -

setUrl

public void setUrl(java.lang.String url)
Set The url of the location where website is deployed, in the form protocol://hostname/path.

Parameters:
url -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.