Package com.axelor.common
Class VersionUtils
- java.lang.Object
-
- com.axelor.common.VersionUtils
-
public final class VersionUtils extends Object
Provides helper methods to find version information of axelor projects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VersionUtils.Version
This class stores version details of axelor modules.
-
Constructor Summary
Constructors Constructor Description VersionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getBuildDate()
Get the Axelor SDK build date.static String
getGitHash()
Get the Axelor SDK build git hash.static VersionUtils.Version
getVersion()
Get the Axelor SDK version.
-
-
-
Method Detail
-
getVersion
public static VersionUtils.Version getVersion()
Get the Axelor SDK version.- Returns:
- an instance of
VersionUtils.Version
-
getBuildDate
public static String getBuildDate()
Get the Axelor SDK build date.- Returns:
- build date
-
getGitHash
public static String getGitHash()
Get the Axelor SDK build git hash.- Returns:
- build git hash
-
-