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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the current internal build number of the application, which is typically not shown to the usersRetrieves the current version number of the application, which is typically visible to the users.
-
Constructor Details
-
DesktopVersionService
public DesktopVersionService()
-
-
Method Details
-
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 interfaceVersionService
- Returns:
- A string with information of the public version of the application, or -1 if unknown
-
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 interfaceVersionService
- Returns:
- A string with information of the internal version of the application, or -1 if unknown
-