public interface License extends Constructible, Extensible
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the license name for this License instance that is used for the API.
|
java.lang.String |
getUrl()
Returns the URL for this License instance that is used for the API.
|
License |
name(java.lang.String name)
Sets this License instance's name used for the API and returns this instance of License.
|
void |
setName(java.lang.String name)
Sets the license name for this License instance that is used for the API.
|
void |
setUrl(java.lang.String url)
Sets this URL for this License instance that is used for the API.
|
License |
url(java.lang.String url)
Sets this License instance's URL used for the API and returns this instance of License.
|
addExtension, getExtensions, setExtensions
java.lang.String getName()
void setName(java.lang.String name)
name
- the license name used for the APILicense name(java.lang.String name)
name
- the license name used for the APIjava.lang.String getUrl()
void setUrl(java.lang.String url)
url
- the URL to the license used for the APILicense url(java.lang.String url)
url
- the URL to the license used for the API