Class Version
java.lang.Object
org.apache.subversion.javahl.types.Version
- Direct Known Subclasses:
RuntimeVersion
public class Version extends Object
Encapsulates version information about the underlying native
libraries. Basically a wrapper for
svn_version.h
.-
Constructor Summary
Constructors Constructor Description Version()
-
Method Summary
-
Constructor Details
-
Version
public Version()
-
-
Method Details
-
toString
-
getMajor
public int getMajor()- Returns:
- The major version number for the loaded JavaHL library.
-
getMinor
public int getMinor()- Returns:
- The minor version number for the loaded JavaHL library.
-
getPatch
public int getPatch()- Returns:
- The patch-level version number for the loaded JavaHL library.
-
isAtLeast
public boolean isAtLeast(int major, int minor, int patch)- Returns:
- Whether the JavaHL native library version is at least
of
major.minor.patch
level.
-