Package com.axelor.common
Class VersionUtils
java.lang.Object
com.axelor.common.VersionUtils
Provides helper methods to find version information of axelor projects.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class stores version details of axelor modules. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Get the Axelor SDK build date.static String
Get the Axelor SDK build git hash.static VersionUtils.Version
Get the Axelor SDK version.
-
Constructor Details
-
VersionUtils
public VersionUtils()
-
-
Method Details
-
getVersion
Get the Axelor SDK version.- Returns:
- an instance of
VersionUtils.Version
-
getBuildDate
Get the Axelor SDK build date.- Returns:
- build date
-
getGitHash
Get the Axelor SDK build git hash.- Returns:
- build git hash
-