org.xwiki.extension
Interface ExtensionLicenseManager


@Role
public interface ExtensionLicenseManager

Centralize known extension licenses.

Since:
4.0M1
Version:
$Id: f548f895352cd286086647bab1349f91a7624583 $

Method Summary
 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


Copyright © 2004-2013 XWiki. All Rights Reserved.