com.atlassian.extras.api
Interface LicenseManager


public interface LicenseManager

Implementation can choose to cache decoded licenses in a cache.


Method Summary
 void clear()
          Remove all current AtlassianLicense objects if they were stored.
 AtlassianLicense getLicense(java.lang.String licenseString)
          Gets the correct license object given an encoded license string.
 

Method Detail

getLicense

AtlassianLicense getLicense(java.lang.String licenseString)
Gets the correct license object given an encoded license string.

Parameters:
licenseString - the encoded license
Returns:
a decoded Atlassian license object.
Throws:
LicenseException - if there are any errors in handling the license.

clear

void clear()
Remove all current AtlassianLicense objects if they were stored.



Copyright © 2005-2014 Atlassian. All Rights Reserved.