Class VersionCheck

    • Constructor Detail

      • VersionCheck

        public VersionCheck()
    • Method Detail

      • isValid

        public static int isValid()
        Check whether the version AM is valid.
      • isVersionValid

        public static int isVersionValid()
      • versionCompatible

        protected static boolean versionCompatible​(String currentVersion,
                                                   String expectedVersion)
        Check whether the version String is compatible with expected.
        Parameters:
        currentVersion - The string of current version.
        expectedVersion - The string of expected version.
        Returns:
        A boolean value to indicate whether the version is compatible.