Package ai.djl.repository
Class License
java.lang.Object
ai.djl.repository.License
A
License
is a container to save the license information.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic License
apache()
The default Apache License.getId()
Returns the identifier of the license.getName()
Returns the name of the license.getUrl()
Returns the url of the license.void
Sets the identifier of the license.void
Sets the name of the license.void
Sets the url of the license.
-
Constructor Details
-
License
public License()
-
-
Method Details
-
apache
The default Apache License.- Returns:
- Apache license
-
getName
Returns the name of the license.- Returns:
- the name of the license
-
setName
Sets the name of the license.- Parameters:
name
- the name of the license
-
getUrl
Returns the url of the license.- Returns:
- the url of the license
-
setUrl
Sets the url of the license.- Parameters:
url
- the url of the license;
-
setId
Sets the identifier of the license.- Parameters:
id
- the identifier of the license.
-
getId
Returns the identifier of the license.- Returns:
- the identifier of the license
-