Class OscalCliVersion
- java.lang.Object
-
- gov.nist.secauto.oscal.tools.cli.core.OscalCliVersion
-
- All Implemented Interfaces:
gov.nist.secauto.metaschema.model.common.util.IVersionInfo
public class OscalCliVersion extends Object implements gov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
-
Field Summary
Fields Modifier and Type Field Description static String
BRANCH
static String
BUILD_TIMESTAMP
static String
BUILD_VERSION
static String
CLOSEST_TAG
static String
COMMIT
static String
NAME
static String
ORIGIN
-
Constructor Summary
Constructors Constructor Description OscalCliVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBuildTimestamp()
String
getGitBranch()
String
getGitClosestTag()
String
getGitCommit()
String
getGitOriginUrl()
String
getName()
String
getVersion()
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
BUILD_VERSION
public static final String BUILD_VERSION
- 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
-
OscalCliVersion
public OscalCliVersion()
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
getBuildTimestamp
public String getBuildTimestamp()
- Specified by:
getBuildTimestamp
in interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
getGitOriginUrl
public String getGitOriginUrl()
- Specified by:
getGitOriginUrl
in interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
getGitCommit
public String getGitCommit()
- Specified by:
getGitCommit
in interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
getGitBranch
public String getGitBranch()
- Specified by:
getGitBranch
in interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
getGitClosestTag
public String getGitClosestTag()
- Specified by:
getGitClosestTag
in interfacegov.nist.secauto.metaschema.model.common.util.IVersionInfo
-
-