org.apache.maven.project
Class License

java.lang.Object
  extended by org.apache.maven.project.License
All Implemented Interfaces:
java.io.Serializable

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

Describes the licenses for this project. This is used to generate the license page of the project's web site, as well as being taken into consideration in other reporting and validation. The licenses listed for the project are that of the project itself, and not of dependencies.

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

Constructor Summary
License()
           
 
Method Summary
 java.lang.String getComments()
          Get Addendum information pertaining to this license.
 java.lang.String getDistribution()
          Get The primary method by which this project may be distributed.
 java.lang.String getModelEncoding()
           
 java.lang.String getName()
          Get The full legal name of the license.
 java.lang.String getUrl()
          Get The official url for the license text.
 void setComments(java.lang.String comments)
          Set Addendum information pertaining to this license.
 void setDistribution(java.lang.String distribution)
          Set The primary method by which this project may be distributed.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setName(java.lang.String name)
          Set The full legal name of the license.
 void setUrl(java.lang.String url)
          Set The official url for the license text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

License

public License()
Method Detail

getComments

public java.lang.String getComments()
Get Addendum information pertaining to this license.


getDistribution

public java.lang.String getDistribution()
Get The primary method by which this project may be distributed.
repo
may be downloaded from the Maven repository
manual
user must manually download and install the dependency.


getName

public java.lang.String getName()
Get The full legal name of the license.


getUrl

public java.lang.String getUrl()
Get The official url for the license text.


setComments

public void setComments(java.lang.String comments)
Set Addendum information pertaining to this license.

Parameters:
comments -

setDistribution

public void setDistribution(java.lang.String distribution)
Set The primary method by which this project may be distributed.
repo
may be downloaded from the Maven repository
manual
user must manually download and install the dependency.

Parameters:
distribution -

setName

public void setName(java.lang.String name)
Set The full legal name of the license.

Parameters:
name -

setUrl

public void setUrl(java.lang.String url)
Set The official url for the license text.

Parameters:
url -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.