java.lang.Object
io.mokamint.node.Versions
Providers of versions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGson decoder.static classGson encoder.static classJson representation. -
Method Summary
-
Method Details
-
of
Yields a version object with the given components.- Parameters:
major- the major version componentminor- the minor version componentpatch- the patch version component- Returns:
- the version object
-
current
Yields a version object, corresponding to the version of Mokamint as reported the pom.xml file of the parent project.- Returns:
- the version object
- Throws:
IOException- if the information in the pom.xml file cannot be accessed
-