Class DesktopVersionService

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBuildNumber()
      Retrieves the current internal build number of the application, which is typically not shown to the users
      java.lang.String getVersionNumber()
      Retrieves the current version number of the application, which is typically visible to the users.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DesktopVersionService

        public DesktopVersionService()
    • Method Detail

      • getVersionNumber

        public java.lang.String getVersionNumber()
        Description copied from interface: VersionService
        Retrieves the current version number of the application, which is typically visible to the users.
        Specified by:
        getVersionNumber in interface VersionService
        Returns:
        A string with information of the public version of the application, or -1 if unknown
      • getBuildNumber

        public java.lang.String getBuildNumber()
        Description copied from interface: VersionService
        Retrieves the current internal build number of the application, which is typically not shown to the users
        Specified by:
        getBuildNumber in interface VersionService
        Returns:
        A string with information of the internal version of the application, or -1 if unknown