1
2
3
4
5
6 package gov.nist.secauto.oscal.lib;
7
8 import gov.nist.secauto.metaschema.core.util.IVersionInfo;
9
10
11
12
13 public final class LibOscalVersion implements IVersionInfo {
14 private static final String NAME = "liboscal-java";
15 private static final String BUILD_VERSION = "5.1.0";
16 private static final String BUILD_TIMESTAMP = "2024-11-26 16:40";
17 private static final String COMMIT = "2f3a394";
18 private static final String BRANCH = "2f3a394fa856e2bc90b74425c639c9bc107ea4e6";
19 private static final String CLOSEST_TAG = "";
20 private static final String ORIGIN = "https://github.com/metaschema-framework/liboscal-java";
21
22 @Override
23 public String getName() {
24 return NAME;
25 }
26
27 @Override
28 public String getVersion() {
29 return CLOSEST_TAG;
30 }
31
32 @Override
33 public String getBuildTimestamp() {
34 return BUILD_TIMESTAMP;
35 }
36
37 @Override
38 public String getGitOriginUrl() {
39 return ORIGIN;
40 }
41
42 @Override
43 public String getGitCommit() {
44 return COMMIT;
45 }
46
47 @Override
48 public String getGitBranch() {
49 return BRANCH;
50 }
51
52 @Override
53 public String getGitClosestTag() {
54 return CLOSEST_TAG;
55 }
56 }