Package com.sap.cds.maven.plugin.util
Class Semver
java.lang.Object
com.sap.cds.maven.plugin.util.Semver
This class represents a semantic version information.
For further details see Semantic Versioning.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Semver
Constructs a newSemver
instance with given version string.- Parameters:
version
- a version string in a valid semver pattern, e.g. "1.2.4"- Throws:
IllegalArgumentException
- if the given version is not a valid Semantic Version with at least major, minor and patch information.
-
-
Method Details