|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.model.License
public class License
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.
Constructor Summary | |
---|---|
License()
|
Method Summary | |
---|---|
License |
clone()
Method clone. |
String |
getComments()
Get addendum information pertaining to this license. |
String |
getDistribution()
Get the primary method by which this project may be distributed. |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input source. |
String |
getName()
Get the full legal name of the license. |
String |
getUrl()
Get the official url for the license text. |
void |
setComments(String comments)
Set addendum information pertaining to this license. |
void |
setDistribution(String distribution)
Set the primary method by which this project may be distributed. |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field. |
void |
setName(String name)
Set the full legal name of the license. |
void |
setUrl(String url)
Set the official url for the license text. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public License()
Method Detail |
---|
public License clone()
clone
in class Object
public String getComments()
public String getDistribution()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
-
public String getName()
public String getUrl()
public void setComments(String comments)
comments
- public void setDistribution(String distribution)
distribution
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setName(String name)
name
- public void setUrl(String url)
url
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |