Package com.iizix.license
Enum ValidateReply
- java.lang.Object
- java.lang.Enum<ValidateReply>
- com.iizix.license.ValidateReply
 
 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<ValidateReply>
 - public enum ValidateReply extends java.lang.Enum<ValidateReply> Enum replies used with- IGenericLicenseSystem.validate()for the Designer, the Server or the License Manager.
- Enum Constant Summary- Enum Constants - Enum Constant - Description - ACTIVATION_PERIOD_EXHAUSTEDLicense may still be valid, but has not been activated with the License Server for more than 10 days.- AFTER_VALIDITY_PERIODLicense validity is subject to a time period, and this period has reached its end.- BEFORE_VALIDITY_PERIODLicense validity is subject to a time period, and this period has not yet started.- BROKENLicense has been broken and cannot recover, please request a new license.- LICENSEE_MISSINGLicensee information is missing.- NOT_INITIALIZEDLicense has not been initialized.- NOT_REGISTEREDLicense has not been registered, not even off-line.- TRAIL_EXPIREDInvalid trial license, trial period has expired.- VALIDLicense is valid.- VALID_ACTIVATION_REQUIREDLicense is valid, but on-line activation is required.- VALID_TRIALValid trial license.
 - Field Summary- Fields - Modifier and Type - Field - Description - java.lang.String- descriptionThe English description text message.- boolean- isValidFlag for valid.- int- valueFixed validity reply value in case the ordinal changes.
 - Method Summary- All Methods Static Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - static ValidateReply- fromReplyValue(int value)Finds the reply from a reply value.- boolean- isValid()Checks if license is valid.- static ValidateReply- valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.- static ValidateReply[]- values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- Enum Constant Detail- NOT_INITIALIZED- public static final ValidateReply NOT_INITIALIZED License has not been initialized.
 - LICENSEE_MISSING- public static final ValidateReply LICENSEE_MISSING Licensee information is missing.
 - NOT_REGISTERED- public static final ValidateReply NOT_REGISTERED License has not been registered, not even off-line.
 - VALID_TRIAL- public static final ValidateReply VALID_TRIAL Valid trial license.
 - TRAIL_EXPIRED- public static final ValidateReply TRAIL_EXPIRED Invalid trial license, trial period has expired.
 - VALID- public static final ValidateReply VALID License is valid.
 - VALID_ACTIVATION_REQUIRED- public static final ValidateReply VALID_ACTIVATION_REQUIRED License is valid, but on-line activation is required.
 - BEFORE_VALIDITY_PERIOD- public static final ValidateReply BEFORE_VALIDITY_PERIOD License validity is subject to a time period, and this period has not yet started.
 - AFTER_VALIDITY_PERIOD- public static final ValidateReply AFTER_VALIDITY_PERIOD License validity is subject to a time period, and this period has reached its end.
 - ACTIVATION_PERIOD_EXHAUSTED- public static final ValidateReply 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- public static final ValidateReply BROKEN License has been broken and cannot recover, please request a new license.
 
 - Field Detail- value- public final int value Fixed validity reply value in case the ordinal changes.
 - isValid- public final boolean isValid Flag 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- public final java.lang.String description The English description text message.
 
 - Method Detail- values- public static ValidateReply[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:- for (ValidateReply c : ValidateReply.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - valueOf- public static ValidateReply valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- 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- public static ValidateReply fromReplyValue(int value) Finds the reply from a reply value.- Parameters:
- value- The reply value to look up.
- Returns:
- The value, or null if not found.