com.atlassian.upm.api.license.entity.PluginLicense |
Represents a license for a plugin
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the list of contacts in the
Organization for this license | |||||||||||
Returns the date the license was created
| |||||||||||
Returns a user friendly description of this license
| |||||||||||
Returns the error condition, if any, that makes the license unusable.
| |||||||||||
Returns the license expiration date,
none() if it does not expire | |||||||||||
Returns the license type.
| |||||||||||
Returns the version of the license (i.e.
| |||||||||||
Returns the expiry date for the maintenance on this license,
none() if the maintenance never expires. | |||||||||||
Returns the organization that bought the license
| |||||||||||
Returns the partner associated to this license,
none() if none exists | |||||||||||
Returns the key of the plugin containing the license
| |||||||||||
Returns the human-readable name of the plugin to which this license belongs, if the plugin is
currently installed.
| |||||||||||
Returns the date the license was purchased
| |||||||||||
Returns the raw license string.
| |||||||||||
Returns the server id associated with this license
| |||||||||||
Returns the Support Entitlement Number (SEN),
none() if it cannot be found in the license. | |||||||||||
Returns the amount of time before license expires,
none() if the license never expires. | |||||||||||
Returns the amount of time before the maintenance expires.
| |||||||||||
Returns
true<code> if this is an evaluation license, {@code false otherwise. | |||||||||||
Returns
true if the maintenance expiry date has been passed, false otherwise. | |||||||||||
Returns
true if this is a subscription license, false otherwise. | |||||||||||
Returns
true if the license is for unlimited number of users, false otherwise. | |||||||||||
Returns true if the license currently allows use of the plugin (not expired, correct type, etc.).
|
Returns the list of contacts in the Organization
for this license
Organization
for this license
Returns the date the license was created
Returns a user friendly description of this license
Returns the error condition, if any, that makes the license unusable. If isValid()
returns
true
, then this method will return none()
.
LicenseError
, or none()
if the license is valid
Returns the license expiration date, none()
if it does not expire
none()
if it does not expire
Returns the version of the license (i.e. which encoder was used to encode the license String), none()
if none set
none()
if none set
Returns the expiry date for the maintenance on this license, none()
if the maintenance never expires.
none()
if the maintenance never expires.
none()
if unlimited.Returns the organization that bought the license
Returns the partner associated to this license, none()
if none exists
none()
if none exists
Returns the key of the plugin containing the license
Returns the human-readable name of the plugin to which this license belongs, if the plugin is
currently installed. If there is no installed plugin whose key matches the license's
plugin key
, then this method simply returns the key.
Returns the date the license was purchased
Returns the server id associated with this license
Returns the Support Entitlement Number (SEN), none()
if it cannot be found in the license.
none()
if it cannot be found in the license.
Returns the amount of time before license expires, none()
if the license never expires.
none()
if the license never expires.Returns the amount of time before the maintenance expires.
none()
if the maintenance never expires.Returns true<code> if this is an evaluation license, {@code false
otherwise.
true<code> if this is an evaluation license, {@code false
otherwise.
Returns true
if the maintenance expiry date has been passed, false
otherwise.
true
if the maintenance expiry date has been passed, false
otherwise.
Returns true
if this is a subscription license, false
otherwise.
true
if this is a subscription license, false
otherwise.
Returns true
if the license is for unlimited number of users, false
otherwise.
true
if the license is for unlimited number of users, false
otherwise.Returns true if the license currently allows use of the plugin (not expired, correct type, etc.).
If this is false, getError()
will indicate the reason.