Package org.correomqtt.core.utils
Class VersionUtils
java.lang.Object
org.correomqtt.core.utils.VersionUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getMajorMinor
(String version) static String
getMajorMinorPatch
(String version) static String
static String
Check if a new version is available.
-
Method Details
-
getVersion
-
isNewerVersionAvailable
public static String isNewerVersionAvailable() throws IOException, CorreoMqttUnableToCheckVersionExceptionCheck if a new version is available.- Returns:
- The name of the tag on github if a new version exists, null otherwise.
- Throws:
IOException
CorreoMqttUnableToCheckVersionException
-
getMajorMinor
-
getMajorMinorPatch
-