Package org.apache.storm.utils
Interface IVersionInfo
public interface IVersionInfo
Implementation of VersionInfo that uses a properties file to get the VersionInfo.
-
Method Summary
Modifier and TypeMethodDescriptionGet the SCM branch of the build.Get a descriptive representation of the build meant for human consumption.getDate()
Get the date/time the build happened.Get the SCM revision number of the build.Get the checksum of the source.getUrl()
Get the full SCM URL for the build.getUser()
Get the name of the user that did the build.Get the version number of the build.
-
Method Details
-
getVersion
String getVersion()Get the version number of the build.- Returns:
- the version number of the build.
-
getRevision
String getRevision()Get the SCM revision number of the build.- Returns:
- the SCM revision number of the build.
-
getBranch
String getBranch()Get the SCM branch of the build.- Returns:
- the SCM branch of the build.
-
getDate
String getDate()Get the date/time the build happened.- Returns:
- the date/time of the build.
-
getUser
String getUser()Get the name of the user that did the build.- Returns:
- the name of the user that did the build.
-
getUrl
String getUrl()Get the full SCM URL for the build.- Returns:
- the SCM URL of the build.
-
getSrcChecksum
String getSrcChecksum()Get the checksum of the source.- Returns:
- the checksum of the source.
-
getBuildVersion
String getBuildVersion()Get a descriptive representation of the build meant for human consumption.- Returns:
- a descriptive representation of the build.
-