Package org.correomqtt.core.utils
Class VersionUtils
java.lang.Object
org.correomqtt.core.utils.VersionUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetMajorMinor(String version) static StringgetMajorMinorPatch(String version) static Stringstatic StringCheck 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:
IOExceptionCorreoMqttUnableToCheckVersionException
-
getMajorMinor
-
getMajorMinorPatch
-