/** * Get the branch on which this originated. * @return The branch name, e.g. "trunk" or "branches/branch-0.20" */ public static String getBranch() { return version != null ? version.branch() : "Unknown"; }
/** * The date that Hive was compiled. * @return the compilation date in unix date format */ public static String getDate() { return version != null ? version.date() : "Unknown"; }
/** * Get the git revision number for the root directory * @return the revision number, eg. "451451" */ public static String getRevision() { return version != null ? version.revision() : "Unknown"; }
/** * Get the Hive short version, with major/minor/change version numbers. * @return short version string, eg. "0.6.3" */ public static String getShortVersion() { return version != null ? version.shortVersion() : "Unknown"; }
/** * Get the Hive version. * @return the Hive version string, eg. "0.6.3-dev" */ public static String getVersion() { return version != null ? version.version() : "Unknown"; }
/** * The user that compiled Hive. * @return the username of the user */ public static String getUser() { return version != null ? version.user() : "Unknown"; }
/** * Get the git URL for the root Hive directory. */ public static String getUrl() { return version != null ? version.url() : "Unknown"; }
/** * Get the checksum of the source files from which Hive was * built. **/ public static String getSrcChecksum() { return version != null ? version.srcChecksum() : "Unknown"; }
/** * Get the Hive short version, with major/minor/change version numbers. * @return short version string, eg. "0.6.3" */ public static String getShortVersion() { return version != null ? version.shortVersion() : "Unknown"; }
/** * Get the Hive version. * @return the Hive version string, eg. "0.6.3-dev" */ public static String getVersion() { return version != null ? version.version() : "Unknown"; }
/** * The user that compiled Hive. * @return the username of the user */ public static String getUser() { return version != null ? version.user() : "Unknown"; }
/** * Get the git URL for the root Hive directory. */ public static String getUrl() { return version != null ? version.url() : "Unknown"; }
/** * Get the checksum of the source files from which Hive was * built. **/ public static String getSrcChecksum() { return version != null ? version.srcChecksum() : "Unknown"; }
/** * Get the branch on which this originated. * @return The branch name, e.g. "trunk" or "branches/branch-0.20" */ public static String getBranch() { return version != null ? version.branch() : "Unknown"; }
/** * The date that Hive was compiled. * @return the compilation date in unix date format */ public static String getDate() { return version != null ? version.date() : "Unknown"; }
/** * Get the git revision number for the root directory * @return the revision number, eg. "451451" */ public static String getRevision() { return version != null ? version.revision() : "Unknown"; }