|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LicenseService
Unifies the interaction with the v1 (still used for store) and v2 license code.
Licenses installed over this service have to, among other validation criteria, contain a license for the Product.CONFLUENCE
.
LicenseWebFacade
Method Summary | |
---|---|
com.atlassian.extras.api.confluence.ConfluenceLicense |
install(java.lang.String licenseString)
Validates and installs a given encrypted license. |
com.atlassian.extras.api.confluence.ConfluenceLicense |
retrieve()
Retrieves the currently installed Confluence license. |
com.atlassian.fugue.Maybe<com.atlassian.extras.api.ProductLicense> |
retrieve(com.atlassian.extras.api.Product product)
Retrieves the license for the requested product. |
com.atlassian.extras.api.confluence.ConfluenceLicense |
validate(java.lang.String licenseString)
Validates the given encrypted license. |
Method Detail |
---|
com.atlassian.extras.api.confluence.ConfluenceLicense retrieve() throws LicenseException
retrieve(Product)
with Product.CONFLUENCE
.
LicenseException
- if no license is installed or the license could not be de-cryptedcom.atlassian.fugue.Maybe<com.atlassian.extras.api.ProductLicense> retrieve(com.atlassian.extras.api.Product product) throws LicenseException
product
- the product for which the license is requested
LicenseException
- if no license is installed or the license could not be de-cryptedcom.atlassian.extras.api.confluence.ConfluenceLicense validate(java.lang.String licenseString) throws LicenseException
LicenseException
install(String)
com.atlassian.extras.api.confluence.ConfluenceLicense install(java.lang.String licenseString) throws LicenseException
licenseString
- the encrypted license
LicenseException
- if the license could not be de-crypted or is invalid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |