Package gov.nist.secauto.oscal.lib
Class OscalVersion
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.OscalVersion
-
- All Implemented Interfaces:
gov.nist.secauto.metaschema.model.common.util.IVersionInfo
public final class OscalVersion extends Object implements gov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
-
Constructor Summary
Constructors Constructor Description OscalVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBuildTimestamp()StringgetGitBranch()StringgetGitClosestTag()StringgetGitCommit()StringgetGitOriginUrl()StringgetName()StringgetVersion()
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
BUILD_TIMESTAMP
public static final String BUILD_TIMESTAMP
- See Also:
- Constant Field Values
-
COMMIT
public static final String COMMIT
- See Also:
- Constant Field Values
-
BRANCH
public static final String BRANCH
- See Also:
- Constant Field Values
-
CLOSEST_TAG
public static final String CLOSEST_TAG
- See Also:
- Constant Field Values
-
ORIGIN
public static final String ORIGIN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OscalVersion
public OscalVersion()
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
getBuildTimestamp
public String getBuildTimestamp()
- Specified by:
getBuildTimestampin interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
getGitOriginUrl
public String getGitOriginUrl()
- Specified by:
getGitOriginUrlin interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
getGitCommit
public String getGitCommit()
- Specified by:
getGitCommitin interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
getGitBranch
public String getGitBranch()
- Specified by:
getGitBranchin interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
getGitClosestTag
public String getGitClosestTag()
- Specified by:
getGitClosestTagin interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
-