|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface JiraLicenseService
A service for get license information. (readonly)
Nested Class Summary | |
---|---|
static interface |
JiraLicenseService.ValidationResult
Holds the validated license and potential errors |
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. |
JiraLicenseService.ValidationResult |
validate(I18nHelper i18nHelper,
String licenseString)
Validates the license String in preparation for setting the license. |
Method Detail |
---|
String getServerId()
LicenseDetails getLicense()
LicenseDetails
object that represents the current license or an instance of com.atlassian.jira.license.NullLicenseDetails
if the license is not currently setup
LicenseDetails
objectJiraLicenseService.ValidationResult validate(I18nHelper i18nHelper, String licenseString)
i18nHelper
- the helper for i18nlicenseString
- the license to validate
void confirmProceedUnderEvaluationTerms(String userName)
userName
- 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 |