Enum Class ValidateReply

java.lang.Object
java.lang.Enum<ValidateReply>
com.iizix.license.ValidateReply
All Implemented Interfaces:
Serializable, Comparable<ValidateReply>, Constable

public enum ValidateReply extends Enum<ValidateReply>
Enum replies used with IGenericLicenseSystem.validate() for the Designer, the Server or the License Manager.
  • Enum Constant Details Link icon

    • NOT_INITIALIZED Link icon

      public static final ValidateReply NOT_INITIALIZED
      License has not been initialized.
    • LICENSEE_MISSING Link icon

      public static final ValidateReply LICENSEE_MISSING
      Licensee information is missing.
    • NOT_REGISTERED Link icon

      public static final ValidateReply NOT_REGISTERED
      License has not been registered, not even off-line.
    • VALID_TRIAL Link icon

      public static final ValidateReply VALID_TRIAL
      Valid trial license.
    • TRAIL_EXPIRED Link icon

      public static final ValidateReply TRAIL_EXPIRED
      Invalid trial license, trial period has expired.
    • VALID Link icon

      public static final ValidateReply VALID
      License is valid.
    • VALID_ACTIVATION_REQUIRED Link icon

      public static final ValidateReply VALID_ACTIVATION_REQUIRED
      License is valid, but on-line activation is required.
    • BEFORE_VALIDITY_PERIOD Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      public static final ValidateReply BROKEN
      License has been broken and cannot recover, please request a new license.
  • Field Details Link icon

    • value Link icon

      public final int value
      Fixed validity reply value in case the ordinal changes.
    • isValid Link icon

      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 Link icon

      public final String description
      The English description text message.
  • Method Details Link icon

    • values Link icon

      public static ValidateReply[] 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 Link icon

      public static ValidateReply valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isValid Link icon

      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 Link icon

      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.