|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.sal.jira.license.JiraLicenseHandler
public class JiraLicenseHandler
Jira implementation of license handler
Constructor Summary | |
---|---|
JiraLicenseHandler(JiraLicenseService jiraLicenseService,
JiraLicenseManager jiraLicenseManager,
I18nHelper.BeanFactory i18nBeanFactory)
|
Method Summary | |
---|---|
String |
getServerId()
Gets the server ID of the currently running application. |
String |
getSupportEntitlementNumber()
Gets the Support Entitlement Number (SEN) for the currently running application. |
void |
setLicense(String license)
Sets the license, going through the regular validation steps as if you used the web UI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiraLicenseHandler(JiraLicenseService jiraLicenseService, JiraLicenseManager jiraLicenseManager, I18nHelper.BeanFactory i18nBeanFactory)
Method Detail |
---|
public void setLicense(String license)
setLicense
in interface com.atlassian.sal.api.license.LicenseHandler
license
- The license stringpublic String getServerId()
getServerId
in interface com.atlassian.sal.api.license.LicenseHandler
public String getSupportEntitlementNumber()
getSupportEntitlementNumber
in interface com.atlassian.sal.api.license.LicenseHandler
null
if there is no current support entitlement.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |