public class ReleaseInformation extends Object
This class provides the release information like version, commit hash and other release specific information.
Modifier and Type | Class and Description |
---|---|
static class |
ReleaseInformation.ReleaseInformationBuilder |
Modifier and Type | Method and Description |
---|---|
static ReleaseInformation.ReleaseInformationBuilder |
builder()
Provide builder to build new
ReleaseInformation instance |
static ReleaseInformation |
current()
Provide statically initialized information about the current release.
|
String |
getBuildNumber()
Get release continuous integration build identifier
|
String |
getCommitHash()
Get release commit hash
|
Instant |
getReleaseDate()
Get release date
|
ReleaseVersion |
getReleaseVersion()
Get release version
|
String |
toString() |
public static ReleaseInformation current()
Provide statically initialized information about the current release.
ReleaseInformation
object which describes current releasepublic ReleaseVersion getReleaseVersion()
Get release version
ReleaseVersion
of the current ReleaseInformation
objectpublic Instant getReleaseDate()
Get release date
Instant
when release was madepublic String getCommitHash()
Get release commit hash
public String getBuildNumber()
Get release continuous integration build identifier
public static ReleaseInformation.ReleaseInformationBuilder builder()
Provide builder to build new ReleaseInformation
instance
ReleaseInformation.ReleaseInformationBuilder
to build ReleaseInformation
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.