com.atlassian.jira.bc.license.JiraLicenseUpdaterService |
Known Indirect Subclasses
|
Class Overview
A service for setting license information.
Public Methods
public
void
removeLicenses
(Iterable<? extends LicenseDetails> licensesToRemove)
Removes provided licenses. If any of the provided licenses do not exist they will be ignored.
Parameters
licensesToRemove
| the licenses that are going to be removed. |
Throws
IllegalStateException
| when removal of licenses that would leave JIRA inoperable. For example,
removing the last license is not allowed. |
Sets the license from the given ValidationResult as the current JIRA license. The validation result must have no
errors.
Parameters
validationResult
| the validation result to get the license from. |
Returns
- the new LicenseDetails created from the validated license.
Sets the license from the given ValidationResult as the current JIRA license. The validation result must have no
errors.
Note that this is a special method specifically for resetting a license during Data Import which is why it will
specifically not fire an Event.
Parameters
validationResult
| the validation result to get the license from. |
Returns
- the new LicenseDetails created from the validated license.