001
002
003package gov.nist.secauto.metaschema.cli.processor;
004
005import gov.nist.secauto.metaschema.core.util.IVersionInfo;
006
007/**
008 * Provides version information for this library.
009 * <p>
010 * This class exposes build-time metadata including version numbers, build
011 * timestamps, and Git repository information.
012 */
013public class ProcessorVersion implements IVersionInfo {
014
015  private static final String NAME = "Metaschema CLI Framework";
016  private static final String VERSION = "2.1.0";
017  private static final String BUILD_TIMESTAMP = "2024-11-26 16:21";
018  private static final String COMMIT = "462da0c";
019  private static final String BRANCH = "462da0c64add5b369af740f4d2057643ac72b056";
020  private static final String CLOSEST_TAG = "";
021  private static final String ORIGIN = "https://github.com/metaschema-framework/metaschema-java";
022
023  @Override
024  public String getName() {
025    return NAME;
026  }
027
028  @Override
029  public String getVersion() {
030    return VERSION;
031  }
032
033  @Override
034  public String getBuildTimestamp() {
035    return BUILD_TIMESTAMP;
036  }
037
038  @Override
039  public String getGitOriginUrl() {
040    return ORIGIN;
041  }
042
043  @Override
044  public String getGitCommit() {
045    return COMMIT;
046  }
047
048  @Override
049  public String getGitBranch() {
050    return BRANCH;
051  }
052
053  @Override
054  public String getGitClosestTag() {
055    return CLOSEST_TAG;
056  }
057}