java.lang.Object | |
↳ | com.atlassian.jira.license.JiraLicenseManagerImpl |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Removes all licenses from JIRA and replace them with the new license.
| |||||||||||
Removes all licenses from JIRA and replace them with the new license without raising an event.
| |||||||||||
Clear the cache within the component.
| |||||||||||
Records that the user has acknowledged that one or more of their licenses is out of maintenance.
| |||||||||||
Retrieve a Set of all installed product license's keys in this instance.
| |||||||||||
Return the
LicenseDetails associated with the passed
com.atlassian.application.api.ApplicationKey. | |||||||||||
Returns the
LicenseDetails corresponding to the given license string after decoding, or throws an
exception if the license string is invalid or cannot be decoded. | |||||||||||
Retrieve a collection of all product licenses installed in this instance.
| |||||||||||
Gets the server ID of the JIRA instance, creates it if it doesn't already exists.
| |||||||||||
Retrieves the SEN (Support Entitlement Number) of all installed licenses and orders them in a consistent manner.
| |||||||||||
Returns true if the support/maintenance period for this JIRA instance has been exceeded and an instance admin
has acknowledged this fact.
| |||||||||||
This returns true if the provided licence string can be decoded into a valid licence
| |||||||||||
Returns true if at least one license has been
set . | |||||||||||
Returns
true if the given application is licensed. | |||||||||||
Removes the license that grants access to the passed application.
| |||||||||||
Removes passed licenses.
| |||||||||||
Sets the current license of this instance.
| |||||||||||
Sets the current license of this instance.
| |||||||||||
Subscribe a Consumer to be called after this manager's cache has been cleared.
| |||||||||||
Un-subscribe a Consumer from being called after clearing of this manager's cache.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.CachingComponent
| |||||||||||
From interface
com.atlassian.jira.license.JiraLicenseManager
|
Removes all licenses from JIRA and replace them with the new license. If the new license cannot be decoded,
this method will throw an IllegalArgumentException
.
Removes all licenses from JIRA and replace them with the new license without raising an event. If the new license
cannot be decoded, this method will throw an IllegalArgumentException
.
Clear the cache within the component.
Records that the user has acknowledged that one or more of their licenses is out of maintenance. This triggers JIRA to grant a 30 day grace period whereby these licenses behave as 30 day evaluation licenses. This is so that admins are able to keep their JIRA running. This flag is reset automatically when all the invalid licenses are updated.
userName | the name of the user that made the confirmation. |
---|
Retrieve a Set of all installed product license's keys in this instance.
Return the LicenseDetails
associated with the passed
com.atlassian.application.api.ApplicationKey.
application | the ApplicationKey to query. |
---|
LicenseDetails
associated with the passed application key or
none()
if no such application exists.Returns the LicenseDetails
corresponding to the given license string after decoding, or throws an
exception if the license string is invalid or cannot be decoded.
licenseString | the license string. |
---|
LicenseDetails
for license encoded by the given string.Retrieve a collection of all product licenses installed in this instance.
In pre-7.0 JIRA this method returns an iterable containing at most one license.
Gets the server ID of the JIRA instance, creates it if it doesn't already exists.
Retrieves the SEN (Support Entitlement Number) of all installed licenses and orders them in a consistent manner. The order is guaranteed for a given set of licenses. It may change when licenses are added or removed.
Returns true if the support/maintenance period for this JIRA instance has been exceeded and an instance admin has acknowledged this fact. Typically, JIRA allows for a 30 day grace (evaluation) period.
true
if the licenses in use are too old for the current build number and this instance is in
a maintenance grace period.This returns true if the provided licence string can be decoded into a valid licence
licenseString | the license string |
---|
Returns true
if the given application is licensed.
application | the application |
---|
true
if the given application is licensed.Removes the license that grants access to the passed application. Note: While this could potentially lead to losing access to another application the real world scenarios are:
application | the key of the application to check. |
---|
Removes passed licenses.
licenses | to be removed |
---|
Sets the current license of this instance.
Note that this method will fire a LicenseChangedEvent
.
licenseString | the license string |
---|
license
is valid.
Sets the current license of this instance.
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.
Subscribe a Consumer to be called after this manager's cache has been cleared.
consumer | Consumer that will be called after this manager's cache has been cleared. |
---|
Un-subscribe a Consumer from being called after clearing of this manager's cache.
consumer | Consumer to be un-subscribed from this manager. |
---|