MetaschemaJavaVersion.java

package gov.nist.secauto.metaschema.core;

import gov.nist.secauto.metaschema.core.util.IVersionInfo;

public class MetaschemaJavaVersion implements IVersionInfo {

  public static final String NAME = "metaschema-java";
  public static final String VERSION = "2.0.1";
  public static final String BUILD_TIMESTAMP = "2024-11-09T21:13:28+0000";
  public static final String COMMIT = "964b845";
  public static final String BRANCH = "964b8456020ec810a0eb885208dda4584c660f9a";
  public static final String CLOSEST_TAG = "";
  public static final String ORIGIN = "https://github.com/metaschema-framework/metaschema-java";

  @Override
  public String getName() {
    return NAME;
  }

  @Override
  public String getVersion() {
    return VERSION;
  }

  @Override
  public String getBuildTimestamp() {
    return BUILD_TIMESTAMP;
  }

  @Override
  public String getGitOriginUrl() {
    return ORIGIN;
  }

  @Override
  public String getGitCommit() {
    return COMMIT;
  }

  @Override
  public String getGitBranch() {
    return BRANCH;
  }

  @Override
  public String getGitClosestTag() {
    return CLOSEST_TAG;
  }
}