Interface ILicenseProvider

All Known Implementing Classes:
CachingLicenseProvider, DefaultLicenseProvider, LicenseFileProvider, LinkedLicenseProvider, StudioLicenseProvider

public interface ILicenseProvider
This interface can be implemented by a client which can provide the contents of a license file from either an external system or the file system.
Since:
6.0
Author:
F. van der Meer
  • Method Summary

    Modifier and Type
    Method
    Description
    This method return the license key.
    boolean
    This method returns whether there is a license or not, but it does not validate the license.
  • Method Details

    • getLicenseKey

      LicenseKey getLicenseKey()
      This method return the license key.
      Returns:
      LicenseKey The license key or null when no license was found.
      Throws:
      AppException - When the license content could not be returned.
    • hasLicenseKey

      boolean hasLicenseKey()
      This method returns whether there is a license or not, but it does not validate the license.
      Returns:
      true when there is a license and false otherwise.