Interface IVersionInfo


public interface IVersionInfo
Provides version information for a runtime dependency or application.
  • Method Details

    • getName

      @NonNull String getName()
      The subject's name.
      Returns:
      the name
    • getVersion

      @NonNull String getVersion()
      The subject's version.
      Returns:
      the version
    • getBuildTimestamp

      @NonNull String getBuildTimestamp()
      The time the subject was last built.
      Returns:
      the build time
    • getGitOriginUrl

      @NonNull String getGitOriginUrl()
      The git repository URL used to retrieve the branch.
      Returns:
      the git repository URL
    • getGitCommit

      @NonNull String getGitCommit()
      The last git commit hash.
      Returns:
      the commit hash
    • getGitBranch

      @NonNull String getGitBranch()
      The current git branch.
      Returns:
      the git branch
    • getGitClosestTag

      @NonNull String getGitClosestTag()
      The closest tag in the git commit history.
      Returns:
      a tag name