Package org.mockserver.version
Class Version
java.lang.Object
org.mockserver.version.Version
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Version
public Version()
-
-
Method Details
-
getVersion
-
getMajorMinorVersion
-
matchesMajorMinorVersion
-
getGroupId
-
getArtifactId
-
getGitHash
The abbreviated git commit hash the artifact was built from, populated at build time by the git-commit-id-maven-plugin. Returns an empty string for builds with no git metadata available (e.g. a source tarball without a.gitdirectory), or theMOCKSERVER_GITHASHsystem property if set as an override.
-