|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JiraLicenseManager
This manager is used to perform Licence releated tasks using the spanking brand new Licencing 2.0
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 license)
Sets the current license of this instance. |
Method Detail |
---|
String getServerId()
LicenseDetails getLicense()
NullLicenseDetails.NULL_LICENSE_DETAILS
if it doesn't
exists.
com.atlassian.extras.common.LicenseException
- if the stored license string cannot be decodedLicenseDetails getLicense(String licenseString)
LicenseDetails
object. It is assumed that the string is valid.
You will wear the consequences if it is not.
licenseString
- the input string
NullLicenseDetails.NULL_LICENSE_DETAILS
if it is blank
com.atlassian.extras.common.LicenseException
- if the stored license string cannot be decodedboolean isDecodeable(String licenseString)
licenseString
- the input string
LicenseDetails setLicense(String license)
license
is valid.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 |