Package com.iizix.license
Enum Class ValidateReply
- All Implemented Interfaces:
Serializable
,Comparable<ValidateReply>
,Constable
Enum replies used with
IGenericLicenseSystem.validate()
for the Designer, the Server or the License Manager.Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant Summary
Enum ConstantDescriptionLicense may still be valid, but has not been activated with the License Server for more than 10 days.License validity is subject to a time period, and this period has reached its end.License validity is subject to a time period, and this period has not yet started.License has been broken and cannot recover, please request a new license.Licensee information is missing.License has not been initialized.License has not been registered, not even off-line.Invalid trial license, trial period has expired.License is valid.License is valid, but on-line activation is required.Valid trial license.Field Summary
Modifier and TypeFieldDescriptionfinal String
The English description text message.final boolean
Flag for valid.final int
Fixed validity reply value in case the ordinal changes.Method Summary
Modifier and TypeMethodDescriptionstatic ValidateReply
fromReplyValue
(int value) Finds the reply from a reply value.boolean
isValid()
Checks if license is valid.static ValidateReply
Returns the enum constant of this class with the specified name.static ValidateReply[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
NOT_INITIALIZED
License has not been initialized.LICENSEE_MISSING
Licensee information is missing.NOT_REGISTERED
License has not been registered, not even off-line.VALID_TRIAL
Valid trial license.TRAIL_EXPIRED
Invalid trial license, trial period has expired.VALID
License is valid.VALID_ACTIVATION_REQUIRED
License is valid, but on-line activation is required.BEFORE_VALIDITY_PERIOD
License validity is subject to a time period, and this period has not yet started.AFTER_VALIDITY_PERIOD
License validity is subject to a time period, and this period has reached its end.ACTIVATION_PERIOD_EXHAUSTED
License may still be valid, but has not been activated with the License Server for more than 10 days. The license is therefore considered as invalid.BROKEN
License has been broken and cannot recover, please request a new license.
Field Details
value
public final int valueFixed validity reply value in case the ordinal changes.isValid
public final boolean isValidFlag for valid.Please note that there might be another problem with the validity though. To verify this, a call to the license system must be done.
description
The English description text message.
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
isValid
public boolean isValid()Checks if license is valid.- Returns:
- true if valid ore valid trial license.
Please note that there might be another problem with the validity though. To verify this, a call to the license system must be done.
fromReplyValue
Finds the reply from a reply value.- Parameters:
value
- The reply value to look up.- Returns:
- The value, or null if not found.