Package com.logicaldoc.enterprise
Class VersionCheckUtil
- java.lang.Object
-
- com.logicaldoc.enterprise.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 Summary
Constructors Constructor Description VersionCheckUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Properties
checkVersion(String userNo, String currentRelease)
Checks the details of a versionstatic Properties
checkVersion(String userNo, String currentRelease, Integer timeout)
Checks the details of a versionstatic String
getBaseUrl()
-
-
-
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 licensecurrentRelease
- 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 licensecurrentRelease
- The current releasetimeout
- The timeout in seconds- Returns:
- A fieldsMap with the license details
- Throws:
Exception
- in case the version was not found
-
-