|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.pyxis.greenhopper.jira.license.GreenHopperPluginLicenseManager
public class GreenHopperPluginLicenseManager
Provides access to GreenHopper licenses when Universal Plugin Manager 2.0 is not installed.
Field Summary | |
---|---|
protected LoggerWrapper |
log
|
Constructor Summary | |
---|---|
GreenHopperPluginLicenseManager()
|
Method Summary | |
---|---|
com.atlassian.extras.api.ProductLicense |
getCurrentLicense()
Get the currently installed GreenHopper license. |
com.atlassian.upm.license.compatibility.CompatibleLicenseStatus |
getCurrentLicenseStatus()
Get the status of the current license |
com.atlassian.extras.api.ProductLicense |
getLicense(java.lang.String licenseString)
Get a ProductLicense for a given license key |
com.atlassian.upm.license.compatibility.CompatibleLicenseStatus |
getLicenseStatus(java.lang.String rawLicense)
Get the status of a given license String |
java.net.URI |
getPluginLicenseAdministrationUri()
Get the license edit page - ours, not UPM 2.0's |
com.atlassian.extras.api.ProductLicense |
setLicense(java.lang.String licenseString)
Set a new license Note: We expect the license to already be properly validated and passing in case this is called from GreenHopperLicenseManager.setLicense, as this method performs a verify before actually setting the license onto the PluginLicenseManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final LoggerWrapper log
Constructor Detail |
---|
public GreenHopperPluginLicenseManager()
Method Detail |
---|
public java.net.URI getPluginLicenseAdministrationUri()
getPluginLicenseAdministrationUri
in interface com.atlassian.upm.license.compatibility.CompatiblePluginLicenseManager
public com.atlassian.extras.api.ProductLicense getCurrentLicense()
getCurrentLicense
in interface com.atlassian.upm.license.compatibility.CompatiblePluginLicenseManager
public com.atlassian.extras.api.ProductLicense getLicense(java.lang.String licenseString)
getLicense
in interface com.atlassian.upm.license.compatibility.CompatiblePluginLicenseManager
public com.atlassian.upm.license.compatibility.CompatibleLicenseStatus getCurrentLicenseStatus()
getCurrentLicenseStatus
in interface com.atlassian.upm.license.compatibility.CompatiblePluginLicenseManager
public com.atlassian.upm.license.compatibility.CompatibleLicenseStatus getLicenseStatus(java.lang.String rawLicense)
getLicenseStatus
in interface com.atlassian.upm.license.compatibility.CompatiblePluginLicenseManager
public com.atlassian.extras.api.ProductLicense setLicense(java.lang.String licenseString)
setLicense
in interface com.atlassian.upm.license.compatibility.CompatiblePluginLicenseManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |