Package org.apache.gravitino
Class Version
java.lang.Object
org.apache.gravitino.Version
Retrieve the version and build information from the building process
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Version.VersionInfo
static VersionDTO
static int[]
parseVersionNumber
(String versionString) Parse the version number from a version string
-
Field Details
-
CLIENT_VERSION_HEADER
The HTTP header to send the client version- See Also:
-
-
Method Details
-
getCurrentVersion
- Returns:
- the current versionInfo
-
getCurrentVersionDTO
- Returns:
- the current version DTO
-
parseVersionNumber
Parse the version number from a version string- Parameters:
versionString
- the version string to parse- Returns:
- an array of integers representing the version number
-