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 Rust LicenseState discriminant. LICENSED and
GRACE both mean a valid license is in force; UNLICENSED and
EVALUATION mean 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 ConstantDescriptionA license is installed but not currently in force (invalid, not-yet-valid, or expired past grace).Expired but within the grace period; still licensed, with a countdown.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. -
EVALUATION
A license is installed but not currently in force (invalid, not-yet-valid, or expired past grace). -
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.
-