Module com.gluonhq.attach.version
Package com.gluonhq.attach.version.impl
Class DesktopVersionService
- java.lang.Object
-
- com.gluonhq.attach.version.impl.DesktopVersionService
-
- All Implemented Interfaces:
VersionService
public class DesktopVersionService extends java.lang.Object implements VersionService
-
-
Constructor Summary
Constructors Constructor Description DesktopVersionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBuildNumber()Retrieves the current internal build number of the application, which is typically not shown to the usersjava.lang.StringgetVersionNumber()Retrieves the current version number of the application, which is typically visible to the users.
-
-
-
Method Detail
-
getVersionNumber
public java.lang.String getVersionNumber()
Description copied from interface:VersionServiceRetrieves the current version number of the application, which is typically visible to the users.- Specified by:
getVersionNumberin interfaceVersionService- 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:VersionServiceRetrieves the current internal build number of the application, which is typically not shown to the users- Specified by:
getBuildNumberin interfaceVersionService- Returns:
- A string with information of the internal version of the application, or -1 if unknown
-
-