Class Version

java.lang.Object
org.apache.gravitino.Version

public class Version extends Object
Retrieve the version and build information from the building process
  • Field Details

    • CLIENT_VERSION_HEADER

      public static final String CLIENT_VERSION_HEADER
      The HTTP header to send the client version
      See Also:
  • Method Details

    • getCurrentVersion

      public static Version.VersionInfo getCurrentVersion()
      Returns:
      the current versionInfo
    • getCurrentVersionDTO

      public static VersionDTO getCurrentVersionDTO()
      Returns:
      the current version DTO
    • parseVersionNumber

      public static int[] parseVersionNumber(String versionString)
      Parse the version number from a version string
      Parameters:
      versionString - the version string to parse
      Returns:
      an array of integers representing the version number