|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<CompatibleLicenseStatus>
com.atlassian.upm.license.compatibility.CompatibleLicenseStatus
public enum CompatibleLicenseStatus
A list of license status values. This is a bridge between api.license.entity.LicenseStatus
and each plugins' legacy licensing statuses.
| Enum Constant Summary | |
|---|---|
ACTIVE
A valid, active license. |
|
EVALUATION
An evaluation license is in use. |
|
EVALUATION_EXPIRED
Evaluation has expired. |
|
EXPIRED
An expired license. |
|
INACTIVE
The plugin has never been activated by a license. |
|
INCOMPATIBLE_FORMAT
The license format is incompatible with the plugin. |
|
INCOMPATIBLE_TYPE
The plugin license's LicenseType type is incompatible with the host application license's LicenseType. |
|
INVALID
An invalid license. |
|
MAINTENANCE_EXPIRED
Maintenance has expired. |
|
REQUIRES_RESTART
Plugin requires a restart. |
|
USER_MISMATCH
A discrepancy exists between plugin license user count and product license user count. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
|
static CompatibleLicenseStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CompatibleLicenseStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CompatibleLicenseStatus ACTIVE
public static final CompatibleLicenseStatus INACTIVE
public static final CompatibleLicenseStatus INVALID
public static final CompatibleLicenseStatus EVALUATION
public static final CompatibleLicenseStatus USER_MISMATCH
public static final CompatibleLicenseStatus EXPIRED
public static final CompatibleLicenseStatus EVALUATION_EXPIRED
public static final CompatibleLicenseStatus MAINTENANCE_EXPIRED
public static final CompatibleLicenseStatus REQUIRES_RESTART
public static final CompatibleLicenseStatus INCOMPATIBLE_FORMAT
public static final CompatibleLicenseStatus INCOMPATIBLE_TYPE
LicenseType type is incompatible with the host application license's LicenseType.
For example, the host application is licensed for hosted use, but the plugin is not.
| Method Detail |
|---|
public static CompatibleLicenseStatus[] values()
for (CompatibleLicenseStatus c : CompatibleLicenseStatus.values()) System.out.println(c);
public static CompatibleLicenseStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<CompatibleLicenseStatus>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||