|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CompatiblePluginLicenseManager
Manages the current plugin's license. Ensures compatibility for existing plugin's legacy licensing systems such that the plugins will work whether or not UPM 2.0 is installed.
| Method Summary | |
|---|---|
com.atlassian.extras.api.ProductLicense |
getCurrentLicense()
Returns the current plugin license |
CompatibleLicenseStatus |
getCurrentLicenseStatus()
Returns the status of the current plugin license |
com.atlassian.extras.api.ProductLicense |
getLicense(java.lang.String rawLicense)
Returns the ProductLicense for the given license string. |
CompatibleLicenseStatus |
getLicenseStatus(java.lang.String rawLicense)
Returns the status of the given license |
java.net.URI |
getPluginLicenseAdministrationUri()
Returns the URI for the plugin license administration screen for this specific plugin. |
com.atlassian.extras.api.ProductLicense |
setLicense(java.lang.String rawLicense)
Set the current plugin license. |
| Method Detail |
|---|
com.atlassian.extras.api.ProductLicense setLicense(java.lang.String rawLicense)
rawLicense - the new plugin license
com.atlassian.extras.api.ProductLicense getCurrentLicense()
com.atlassian.extras.api.ProductLicense getLicense(java.lang.String rawLicense)
ProductLicense for the given license string.
rawLicense - the license string
ProductLicenseCompatibleLicenseStatus getCurrentLicenseStatus()
CompatibleLicenseStatus getLicenseStatus(java.lang.String rawLicense)
rawLicense - the license string
java.net.URI getPluginLicenseAdministrationUri()
URI for the plugin license administration screen for this specific plugin.
The returned URI should be relative to the product's base url, e.g. "/plugins/servlet/upm#manage/com.example.sampleplugin"
URI for the plugin license administration screen for this specific plugin.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||