|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.bc.license.JiraLicenseServiceImpl
public class JiraLicenseServiceImpl
The implementation of JiraLicenseService
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.atlassian.jira.bc.license.JiraLicenseService |
|---|
JiraLicenseService.ValidationResult |
| Constructor Summary | |
|---|---|
JiraLicenseServiceImpl(JiraLicenseManager licenseManager,
BuildUtilsInfo buildUtilsInfo,
UserUtil userUtil)
|
|
| 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()
Returns a non null LicenseDetails object that represents the current license or an instance of com.atlassian.jira.license.NullLicenseDetails if the license is not currently setup |
String |
getServerId()
Gets the server ID of the JIRA instance, creates it if it doesn't already exists. |
LicenseDetails |
setLicense(JiraLicenseService.ValidationResult validationResult)
Sets the license from the given ValidationResult as the current JIRA license. |
JiraLicenseService.ValidationResult |
validate(I18nHelper i18nHelper,
String licenseString)
Validates the license String in preparation for setting the license. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JiraLicenseServiceImpl(JiraLicenseManager licenseManager,
BuildUtilsInfo buildUtilsInfo,
UserUtil userUtil)
| Method Detail |
|---|
public String getServerId()
JiraLicenseService
getServerId in interface JiraLicenseServicepublic LicenseDetails getLicense()
JiraLicenseServiceLicenseDetails object that represents the current license or an instance of com.atlassian.jira.license.NullLicenseDetails if the license is not currently setup
getLicense in interface JiraLicenseServiceLicenseDetails object
public JiraLicenseService.ValidationResult validate(I18nHelper i18nHelper,
String licenseString)
JiraLicenseService
validate in interface JiraLicenseServicei18nHelper - the helper for i18nlicenseString - the license to validate
public LicenseDetails setLicense(JiraLicenseService.ValidationResult validationResult)
JiraLicenseUpdaterService
setLicense in interface JiraLicenseUpdaterServicevalidationResult - the validation result to get the license from.
public void confirmProceedUnderEvaluationTerms(String userName)
JiraLicenseService
confirmProceedUnderEvaluationTerms in interface JiraLicenseServiceuserName - 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 | |||||||||