Package org.apache.hadoop.hdds.scm
Class VersionInfo
java.lang.Object
org.apache.hadoop.hdds.scm.VersionInfo
This is a class that tracks versions of SCM.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic VersionInfo[]Returns all versions.Return description.static VersionInfoReturns the latest version.intReturn the version.
-
Field Details
-
DESCRIPTION_KEY
- See Also:
-
-
Method Details
-
getAllVersions
Returns all versions.- Returns:
- Version info array.
-
getLatestVersion
Returns the latest version.- Returns:
- versionInfo
-
getDescription
Return description.- Returns:
- String
-
getVersion
public int getVersion()Return the version.- Returns:
- int.
-