Package com.solace.serdes.common.version
Interface VersionInfo
-
public interface VersionInfo
Provides access to the artifact's version and build revision information.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static VersionInfo
getInfo()
Gets a VersionInfo instance.String
getModule()
Gets the module name of the artifact.String
getRevision()
Gets the SCM revision identifier (Git commit hash) of the build.String
getVersion()
Gets the version string of the artifact.
-
-
-
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
-
-