Class OscalCliVersion

java.lang.Object
gov.nist.secauto.oscal.tools.cli.core.OscalCliVersion
All Implemented Interfaces:
gov.nist.secauto.metaschema.core.util.IVersionInfo

public class OscalCliVersion extends Object implements gov.nist.secauto.metaschema.core.util.IVersionInfo
Provides version information for this application.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface gov.nist.secauto.metaschema.core.util.IVersionInfo
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface gov.nist.secauto.metaschema.core.util.IVersionInfo
    • getBuildTimestamp

      Specified by:
      getBuildTimestamp in interface gov.nist.secauto.metaschema.core.util.IVersionInfo
    • getGitOriginUrl

      Specified by:
      getGitOriginUrl in interface gov.nist.secauto.metaschema.core.util.IVersionInfo
    • getGitCommit

      public String getGitCommit()
      Specified by:
      getGitCommit in interface gov.nist.secauto.metaschema.core.util.IVersionInfo
    • getGitBranch

      public String getGitBranch()
      Specified by:
      getGitBranch in interface gov.nist.secauto.metaschema.core.util.IVersionInfo
    • getGitClosestTag

      Specified by:
      getGitClosestTag in interface gov.nist.secauto.metaschema.core.util.IVersionInfo