Package org.xwiki.extension
Interface ExtensionLicenseManager
-
@Role public interface ExtensionLicenseManager
Centralize known extension licenses.- Since:
- 4.0M1
- Version:
- $Id: e34abaf6ad51a60019b27bac4ff16d7940f42a69 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addLicense(ExtensionLicense license)
Add new license.ExtensionLicense
getLicense(String name)
Get known license by its name.List<ExtensionLicense>
getLicenses()
-
-
-
Method Detail
-
getLicenses
List<ExtensionLicense> getLicenses()
- Returns:
- the known licenses
-
getLicense
ExtensionLicense getLicense(String name)
Get known license by its name.- Parameters:
name
- the name of the license- Returns:
- the license
-
addLicense
void addLicense(ExtensionLicense license)
Add new license.- Parameters:
license
- the license to add
-
-