Class BuildInfo


  • public class BuildInfo
    extends Object
    Presents build-time information
    • Constructor Detail

      • BuildInfo

        public BuildInfo()
    • Method Detail

      • getVersion

        public String getVersion()
        Gets the version of the toolset.
        Returns:
        A semver string
      • getSha

        public String getSha()
        Gets the git commit SHA1 hash. Useful for differentiating between SNAPSHOT builds.
        Returns:
        A short git SHA
      • versionDisplayText

        public String versionDisplayText()
        Gets the full version display text, as one would expect from a '--version' CLI option
        Returns:
        Human-readable version display information