Package org.vanted
Class BuildInfo
java.lang.Object
org.vanted.BuildInfo
- All Implemented Interfaces:
HelperClass
public class BuildInfo extends Object implements HelperClass
A utility helper for accessing build information. High-level interface for
accessing the build information file.
- Since:
- 2.6.5
- Author:
- Dimitar Garkov
-
Method Summary
Modifier and Type Method Description static String
getCurrentVersion()
Gets the current Vanted version, as specified in the build file.static String
getLastBuildDate()
Gets the last Vanted build number, as specified in the build file.static String
getLastBuildNumber()
Gets the last Vanted build number, as specified in the build file.static String
getMinimalCompatibility()
Gets the minimal Vanted compatibility, as specified in the build file.
-
Method Details
-
getCurrentVersion
Gets the current Vanted version, as specified in the build file.- Returns:
- the version as String or just empty String
-
getMinimalCompatibility
Gets the minimal Vanted compatibility, as specified in the build file.- Returns:
- the compatibility as version-String or just empty String
-
getLastBuildNumber
Gets the last Vanted build number, as specified in the build file.- Returns:
- the build number as String or just empty String
- TODO
- Attach build number update after deployment build
-
getLastBuildDate
Gets the last Vanted build number, as specified in the build file.- Returns:
- the build number as String or just empty String
- TODO
- Attach build number update after deployment build
-