Interface Version
- All Superinterfaces:
Comparable<Version>
Unit version interface. Version implementations should be comparable.
-
Field Summary
Fields -
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
LATEST
Implementation ofVersion
interface with special latest logic. This version have special unique representation. Moreover by convention this implementation should be oldest version of any another independent of implementation.
-
-
Method Details
-
render
String render()Render version representation in String format.- Returns:
- version string representation.
-
parseVersion
Parse version from String.- Parameters:
s
- string version representation.- Returns:
- Version instance of
-