public class License
extends java.lang.Object
License
is a container to save the license information.Repository
Constructor and Description |
---|
License() |
Modifier and Type | Method and Description |
---|---|
static License |
apache()
The default Apache License.
|
java.lang.String |
getId()
Returns the identifier of the license.
|
java.lang.String |
getName()
Returns the name of the license.
|
java.lang.String |
getUrl()
Returns the url of the license.
|
void |
setId(java.lang.String id)
Sets the identifier of the license.
|
void |
setName(java.lang.String name)
Sets the name of the license.
|
void |
setUrl(java.lang.String url)
Sets the url of the license.
|
public static License apache()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of the licensepublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- the url of the license;public void setId(java.lang.String id)
id
- the identifier of the license.public java.lang.String getId()