Package org.xwiki.extension
Interface ExtensionLicenseManager
Centralize known extension licenses.
- Since:
- 4.0M1
- Version:
- $Id: e34abaf6ad51a60019b27bac4ff16d7940f42a69 $
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLicense
(ExtensionLicense license) Add new license.getLicense
(String name) Get known license by its name.
-
Method Details
-
getLicenses
List<ExtensionLicense> getLicenses()- Returns:
- the known licenses
-
getLicense
Get known license by its name.- Parameters:
name
- the name of the license- Returns:
- the license
-
addLicense
Add new license.- Parameters:
license
- the license to add
-