Class OakVersion
java.lang.Object
org.apache.jackrabbit.oak.commons.OakVersion
Provides version information about Oak.
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull StringgetVersion(String moduleName, Class clazz) Returns the version of an Oak module.
-
Method Details
-
getVersion
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)
-