Class LicenseDetailsService


  • @Singleton
    public class LicenseDetailsService
    extends Object
    • Constructor Detail

      • LicenseDetailsService

        public LicenseDetailsService()
    • Method Detail

      • checkLicense

        public LicenseApiResponse checkLicense()
        The function checks the license key and the api key and returns a response object
        Returns:
        A LicenseApiResponse object is being returned.
      • activateLicense

        public LicenseApiResponse activateLicense​(LicenseRequest licenseRequest)
        The function checks if the license is already active, if not, it creates a header map, creates a body map, and sends a POST request to the license server
        Parameters:
        licenseRequest - The license key that you received from the license server.
        Returns:
        A LicenseApiResponse object.
      • getLicenseDetails

        public LicenseResponse getLicenseDetails()
        This function is used to get the license details of the admin-ui
        Returns:
        A LicenseResponse object