|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.atlassian.upm.license.compatibility.OnDemandCompatiblePluginLicenseManager
public class OnDemandCompatiblePluginLicenseManager
This CompatiblePluginLicenseManager is used in On Demand environments.
In an On Demand environment it acts as the default CompatiblePluginLicenseManager would normally,
but with one exception: the license administration URL always points back to the default implementation.
| Constructor Summary | |
|---|---|
OnDemandCompatiblePluginLicenseManager(LegacyCompatiblePluginLicenseManager legacyPluginLicenseManager,
CompatiblePluginLicenseManager defaultPluginLicenseManager)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OnDemandCompatiblePluginLicenseManager(LegacyCompatiblePluginLicenseManager legacyPluginLicenseManager,
CompatiblePluginLicenseManager defaultPluginLicenseManager)
| Method Detail |
|---|
public com.atlassian.extras.api.ProductLicense setLicense(java.lang.String rawLicense)
CompatiblePluginLicenseManager
setLicense in interface CompatiblePluginLicenseManagerrawLicense - the new plugin license
public com.atlassian.extras.api.ProductLicense getCurrentLicense()
CompatiblePluginLicenseManager
getCurrentLicense in interface CompatiblePluginLicenseManagerpublic com.atlassian.extras.api.ProductLicense getLicense(java.lang.String rawLicense)
CompatiblePluginLicenseManagerProductLicense for the given license string.
getLicense in interface CompatiblePluginLicenseManagerrawLicense - the license string
ProductLicensepublic CompatibleLicenseStatus getCurrentLicenseStatus()
CompatiblePluginLicenseManager
getCurrentLicenseStatus in interface CompatiblePluginLicenseManagerpublic CompatibleLicenseStatus getLicenseStatus(java.lang.String rawLicense)
CompatiblePluginLicenseManager
getLicenseStatus in interface CompatiblePluginLicenseManagerrawLicense - the license string
public java.net.URI getPluginLicenseAdministrationUri()
CompatiblePluginLicenseManagerURI 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"
getPluginLicenseAdministrationUri in interface CompatiblePluginLicenseManagerURI 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 | ||||||||