Class VersionCheckUtil


  • public class VersionCheckUtil
    extends Object
    Utility class to check the status of the current version
    Since:
    8.7.1
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • VersionCheckUtil

        public VersionCheckUtil()
    • Method Detail

      • getBaseUrl

        public static String getBaseUrl()
      • checkVersion

        public static Properties checkVersion​(String userNo,
                                              String currentRelease)
                                       throws Exception
        Checks the details of a version
        Parameters:
        userNo - UserNo of the license
        currentRelease - The current release
        Returns:
        A fieldsMap with the license details
        Throws:
        Exception - in case the version was not found
      • checkVersion

        public static Properties checkVersion​(String userNo,
                                              String currentRelease,
                                              Integer timeout)
                                       throws Exception
        Checks the details of a version
        Parameters:
        userNo - UserNo of the license
        currentRelease - The current release
        timeout - The timeout in seconds
        Returns:
        A fieldsMap with the license details
        Throws:
        Exception - in case the version was not found