MetaschemaVersion.java


package gov.nist.secauto.metaschema.core.model;

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

public class MetaschemaVersion implements IVersionInfo {

  public static final String NAME = "metaschema";
  public static final String BUILD_VERSION = "2.0.1";
  public static final String BUILD_TIMESTAMP = "2024-11-09T21:13:28+0000";
  public static final String COMMIT = "b6601f7";
  public static final String BRANCH = "b6601f7430f83f1a53a11bf32575b69e131bc912";
  public static final String CLOSEST_TAG = "";
  public static final String ORIGIN = "https://github.com/metaschema-framework/metaschema.git";

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

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

  @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;
  }
}