org.apache.maven.model.v3_0_0
Class License

java.lang.Object
  extended by org.apache.maven.model.v3_0_0.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

Field Summary
private  java.lang.String comments
          Addendum information pertaining to this license.
private  java.lang.String distribution
          The primary method by which this project may be distributed.
private  java.lang.String name
          The full legal name of the license.
private  java.lang.String url
          The official url for the license text.
 
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 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 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
 

Field Detail

name

private java.lang.String name
The full legal name of the license.


url

private java.lang.String url
The official url for the license text.


distribution

private java.lang.String distribution
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.


comments

private java.lang.String comments
Addendum information pertaining to this license.

Constructor Detail

License

public License()
Method Detail

getComments

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

Returns:
String

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.

Returns:
String

getName

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

Returns:
String

getUrl

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

Returns:
String

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 -