public interface License extends Constructible, Extensible<License>
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the license name for this License instance that is used for the API.
|
String |
getUrl()
Returns the URL for this License instance that is used for the API.
|
default License |
name(String name)
Sets this License instance's name used for the API and returns this instance of License.
|
void |
setName(String name)
Sets the license name for this License instance that is used for the API.
|
void |
setUrl(String url)
Sets this URL for this License instance that is used for the API.
|
default License |
url(String url)
Sets this License instance's URL used for the API and returns this instance of License.
|
addExtension, extensions, getExtensions, removeExtension, setExtensions
String getName()
void setName(String name)
name
- the license name used for the APIdefault License name(String name)
name
- the license name used for the APIString getUrl()
void setUrl(String url)
url
- the URL to the license used for the APICopyright © 2017 – 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.