|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.license.JiraLicenseManagerImpl
public class JiraLicenseManagerImpl
| Constructor Summary | |
|---|---|
JiraLicenseManagerImpl(JiraLicenseStore licenseStore,
BuildUtilsInfo buildUtilsInfo,
com.atlassian.extras.api.LicenseManager licenseManager,
ApplicationProperties applicationProperties,
ExternalLinkUtil externalLinkUtil,
com.atlassian.license.SIDManager sidManager,
DateTimeFormatter dateTimeFormatter,
I18nHelper.BeanFactory i18nFactory,
com.atlassian.event.api.EventPublisher eventPublisher)
|
|
| Method Summary | |
|---|---|
void |
confirmProceedUnderEvaluationTerms(String userName)
This will confirm that user has agreed to proceed under Evaluation terms, typically when the license is too old for the current JIRA build. |
LicenseDetails |
getLicense()
Gets the current license details of this instance. |
LicenseDetails |
getLicense(String licenseString)
This will decode the given string into a LicenseDetails object. |
String |
getServerId()
Gets the server ID of the JIRA instance, creates it if it doesn't already exists. |
boolean |
isDecodeable(String licenseString)
This returns true if the provided licence string can be decoded into a valid licence |
LicenseDetails |
setLicense(String licenseString)
Sets the current license of this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JiraLicenseManagerImpl(JiraLicenseStore licenseStore,
BuildUtilsInfo buildUtilsInfo,
com.atlassian.extras.api.LicenseManager licenseManager,
ApplicationProperties applicationProperties,
ExternalLinkUtil externalLinkUtil,
com.atlassian.license.SIDManager sidManager,
DateTimeFormatter dateTimeFormatter,
I18nHelper.BeanFactory i18nFactory,
com.atlassian.event.api.EventPublisher eventPublisher)
| Method Detail |
|---|
public String getServerId()
JiraLicenseManager
getServerId in interface JiraLicenseManagerpublic LicenseDetails getLicense()
JiraLicenseManager
getLicense in interface JiraLicenseManagerNullLicenseDetails.NULL_LICENSE_DETAILS if it doesn't
exists.public LicenseDetails getLicense(String licenseString)
JiraLicenseManagerLicenseDetails object. It is assumed that the string is valid.
You will wear the consequences if it is not.
getLicense in interface JiraLicenseManagerlicenseString - the input string
NullLicenseDetails.NULL_LICENSE_DETAILS if it is blankpublic boolean isDecodeable(String licenseString)
JiraLicenseManager
isDecodeable in interface JiraLicenseManagerlicenseString - the input string
public LicenseDetails setLicense(String licenseString)
JiraLicenseManager
setLicense in interface JiraLicenseManagerlicense is valid.public void confirmProceedUnderEvaluationTerms(String userName)
JiraLicenseManager
confirmProceedUnderEvaluationTerms in interface JiraLicenseManageruserName - the name of the user that amde the confirmation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||