Interface VersionInfo


  • public interface VersionInfo
    Provides access to the artifact's version and build revision information.
    • Method Detail

      • getInfo

        static VersionInfo getInfo()
        Gets a VersionInfo instance.
        Returns:
        A VersionInfo instance.
      • getVersion

        String getVersion()
        Gets the version string of the artifact. Typically corresponds to the Maven project version.
        Returns:
        The artifact version.
      • getRevision

        String getRevision()
        Gets the SCM revision identifier (Git commit hash) of the build.
        Returns:
        The SCM revision string.
      • getModule

        String getModule()
        Gets the module name of the artifact.
        Returns:
        The module name string