public class License extends Object implements Serializable, Cloneable, InputLocationTracker
Constructor and Description |
---|
License() |
Modifier and Type | Method and Description |
---|---|
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.
|
public License()
public String getComments()
public String getDistribution()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- 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
- Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.