public class BuildInfo extends Object
Constructor and Description |
---|
BuildInfo() |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
getBuildTime()
Gets the time when this tool was built.
|
String |
getSha()
Gets the git commit SHA1 hash.
|
String |
getVersion()
Gets the version of the toolset.
|
String |
versionDisplayText()
Gets the full version display text, as one would expect from a '--version' CLI option
|
public String getVersion()
public String getSha()
public OffsetDateTime getBuildTime()
OffsetDateTime
, or OffsetDateTime.MIN
if metadata cannot be parsed.public String versionDisplayText()
Copyright © 2023. All rights reserved.