|
||||||||||
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 licenseString)
Sets the current license of this instance. |
LicenseDetails |
setLicenseNoEvent(String licenseString)
Sets the current license of this instance. |
Method Detail |
---|
String getServerId()
LicenseDetails getLicense()
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 license string
com.atlassian.extras.common.LicenseException
- if the stored license string cannot be decodedboolean isDecodeable(String licenseString)
licenseString
- the license string
LicenseDetails setLicense(String licenseString)
Note that this method will fire a NewLicenseEvent
.
licenseString
- the license string
license
is valid.LicenseDetails setLicenseNoEvent(String licenseString)
This is a special version of setLicense(String)
that will not fire any event and is purely for use
during a Data Import.
licenseString
- the license string
license
is valid.void confirmProceedUnderEvaluationTerms(String userName)
userName
- the name of the user that made the confirmation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |