/** * Get the SCM revision number of the build. * @return the SCM revision number of the build. */ public static String getRevision() { return OUR_FULL_VERSION.getRevision(); }
private static Map<String, String> toJsonStruct(IVersionInfo info) { Map<String, String> ret = new HashMap<>(); ret.put("version", info.getVersion()); ret.put("revision", info.getRevision()); ret.put("branch", info.getBranch()); ret.put("date", info.getDate()); ret.put("user", info.getUser()); ret.put("url", info.getUrl()); ret.put("srcChecksum", info.getSrcChecksum()); return ret; }