@Role public interface ExtensionLicenseManager
Modifier and Type | Method and Description |
---|---|
void |
addLicense(ExtensionLicense license)
Add new license.
|
ExtensionLicense |
getLicense(String name)
Get known license by its name.
|
List<ExtensionLicense> |
getLicenses() |
List<ExtensionLicense> getLicenses()
ExtensionLicense getLicense(String name)
name
- the name of the licensevoid addLicense(ExtensionLicense license)
license
- the license to addCopyright © 2004–2021 XWiki. All rights reserved.