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 |
setOtherLocation(Object key,
InputLocation location) |
void |
setUrl(String url)
Set the official url for the license text.
|
String |
toString() |
public String getComments()
public String getDistribution()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public String getName()
public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOtherLocation(Object key, InputLocation location)
key
- location
- public String getUrl()
public void setComments(String comments)
comments
- public void setDistribution(String distribution)
distribution
- public void setName(String name)
name
- public void setUrl(String url)
url
- public String toString()
toString
in class Object
Object.toString()
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.