Class OakVersion
- java.lang.Object
-
- org.apache.jackrabbit.oak.commons.OakVersion
-
public final class OakVersion extends java.lang.Object
Provides version information about Oak.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull java.lang.String
getVersion(java.lang.String moduleName, java.lang.Class clazz)
Returns the version of an Oak module.
-
-
-
Method Detail
-
getVersion
@NotNull public static @NotNull java.lang.String getVersion(java.lang.String moduleName, java.lang.Class clazz)
Returns the version of an Oak module.- Parameters:
moduleName
- the name of the moduleclazz
- a class of the module- Returns:
- the version (or "SNAPSHOT" when unknown)
-
-