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 Licenseapache()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.voidSets the identifier of the license.voidSets the name of the license.voidSets 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
-