Package io.keikai.axyra.sheets
Enum Class LicenseStatus
- All Implemented Interfaces:
Serializable,Comparable<LicenseStatus>,Constable
The runtime licensing status of the engine (process-global).
Mirrors the engine's license state. LICENSED and GRACE
both mean a valid license is in force; UNLICENSED, EXPIRED
and INVALID mean the engine runs in evaluation mode, so output is
degraded when enforcement is switched on.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe installed key ran out: past its end date and grace period, or a perpetual key whose maintenance window ended before this engine build.Expired but within the grace period; still licensed, with a countdown.The installed key is not valid here: forged or damaged, revoked, not yet valid, or issued for another product or platform.A valid, in-force license.No license has been installed. -
Method Summary
Modifier and TypeMethodDescriptionstatic LicenseStatusMap a status label from the native status JSON, defaulting toUNLICENSED.static LicenseStatusReturns the enum constant of this class with the specified name.static LicenseStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNLICENSED
No license has been installed. -
EXPIRED
The installed key ran out: past its end date and grace period, or a perpetual key whose maintenance window ended before this engine build. -
INVALID
The installed key is not valid here: forged or damaged, revoked, not yet valid, or issued for another product or platform. -
LICENSED
A valid, in-force license. -
GRACE
Expired but within the grace period; still licensed, with a countdown.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
fromLabel
Map a status label from the native status JSON, defaulting toUNLICENSED.EVALUATION, the label older engines report for a key not in force, maps toINVALID.
-