Class LicenseEntry

java.lang.Object
com.seeq.utilities.license.LicenseEntry
Direct Known Subclasses:
License, LicensedFeature

public class LicenseEntry extends Object
Represents the base class for an end-user enforceable software license entry. The license entry may represent a particular product level or one of its features which is licensed separately.
  • Method Details

    • isValid

      public boolean isValid()
      Returns true if the current license entry is valid and still inside valid through period
      Returns:
      true if the current license entry is valid and still inside valid through period
    • computeValidity

      public LicenseEntry.Validity computeValidity()
      Computes the validity of this license entry based on initial validity value and valid through period
      Returns:
      the validity of this license entry calculated based on initial validity value and valid through period
    • computeDaysToExpiration

      public int computeDaysToExpiration()
      Computes the number of days before this license will expire
      Returns:
      the number of days before this license will expire