Class OakVersion

java.lang.Object
org.apache.jackrabbit.oak.commons.OakVersion

public final class OakVersion extends Object
Provides version information about Oak.
  • Method Details

    • getVersion

      @NotNull public static @NotNull String getVersion(String moduleName, Class clazz)
      Returns the version of an Oak module.
      Parameters:
      moduleName - the name of the module
      clazz - a class of the module
      Returns:
      the version (or "SNAPSHOT" when unknown)