Interface LicenseDetails

All Superinterfaces:
Serializable
All Known Subinterfaces:
ModuleLicense
All Known Implementing Classes:
LicenseDetailsImpl

public interface LicenseDetails extends Serializable
Represents the licensing details for a specific module
  • Field Details

    • DETAIL_KEY_EXPIRATION

      static final String DETAIL_KEY_EXPIRATION
      Common keyname for an expiration date restriction
      See Also:
    • DETAIL_KEY_MIN_BUILD

      static final String DETAIL_KEY_MIN_BUILD
      Common keyname for a minimum build-number restriction
      See Also:
    • DETAIL_KEY_EDITION

      static final String DETAIL_KEY_EDITION
      Common keyname for edition details
      See Also:
    • DETAIL_KEY_PLATFORM_BUNDLED

      static final String DETAIL_KEY_PLATFORM_BUNDLED
      Common keyname indicating that a license is bundled with driver modules
      See Also:
    • REDUNDANT_BACKUP

      static final String REDUNDANT_BACKUP
      See Also:
  • Method Details

    • getVersion

      int getVersion()
      The major version number that this license is good for
    • getLicenseDetail

      @Nullable String getLicenseDetail(String key)
      The value of the LicenseRestriction with the given name.
      Returns:
      null if no license restriction with name==key is found.
    • getLicenseDetails

      List<LicenseRestriction> getLicenseDetails()
      Returns all of the license details as a list
    • getModuleId

      String getModuleId()
      Get the module id this license applies to.
      Returns:
      the module id this license applies to.
    • isPlatformDetails

      default boolean isPlatformDetails()
    • checkFlag

      default boolean checkFlag(String key)
    • getExpirationDate

      default Optional<Date> getExpirationDate()